GNOME Bugzilla – Bug 377176
Install of speedprof ignores DESTDIR.
Last modified: 2007-08-11 19:35:45 UTC
Please describe the problem: When installing memprof-0.6 package, the DESTDIR directive is ignored for the speedprof symbolic link. Therefore, if an alternate install directory is used, the install fails because memprof does not exist in /usr/bin for the symlink. I encountered this while trying to update the ebuild for Gentoo. Steps to reproduce: 1. Use alternate DESTDIR. 2. Attempt install of memprof. Actual results: Install fails. Expected results: Symbolic link for speedprof happens under alternate install directory. Does this happen every time? Yes. Other information: Sample patch file to fix: --- memprof-0.6.orig/Makefile.in 2006-08-07 17:49:40.000000000 -0500 +++ memprof-0.6/Makefile.in 2006-11-19 16:10:16.000000000 -0600 @@ -1012,7 +1012,7 @@ $(GCONFTOOL) --makefile-install-rule $(srcdir)/$(schema_DATA) install-exec-hook: - cd $(bindir) && ln -sf memprof speedprof + cd $(DESTDIR)$(bindir) && ln -sf memprof speedprof .PHONY: copyrights
Just confirming this. The above DESTDIR change works fine
2007-08-11 Soren Sandmann <sandmann@daimi.au.dk> * Makefile.am (install-exec-hook): Install speedprof in DESTDIR. Bug 377176 - patch from Patrick Williams.