[asterisk-commits] pabelanger: branch 1.4 r260661 - /branches/1.4/Makefile

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon May 3 11:41:34 CDT 2010


Author: pabelanger
Date: Mon May  3 11:41:30 2010
New Revision: 260661

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=260661
Log:
non-root make install PREFIX=/tmp fails.
Prepend libdir when executing mkpkgconfig allowing non-root installs to work.

(closes issue #17268)
Reported by: pabelanger
Patches:
      issue17268.patch uploaded by pabelanger (license 224)
Tested by: pabelanger


Modified:
    branches/1.4/Makefile

Modified: branches/1.4/Makefile
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/Makefile?view=diff&rev=260661&r1=260660&r2=260661
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Mon May  3 11:41:30 2010
@@ -413,7 +413,7 @@
 	rm -f build_tools/menuselect-deps
 
 datafiles: _all
-	CFLAGS="$(_ASTCFLAGS) $(ASTCFLAGS)" build_tools/mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig;
+	CFLAGS="$(_ASTCFLAGS) $(ASTCFLAGS)" build_tools/mkpkgconfig $(DESTDIR)$(libdir)/usr/lib/pkgconfig;
 # Should static HTTP be installed during make samples or even with its own target ala
 # webvoicemail?  There are portions here that *could* be customized but might also be
 # improved a lot.  I'll put it here for now.




More information about the asterisk-commits mailing list