Hi,
Attached is a patch which fixes the pkgconfidir definition in popt's
Makefile.{in,am}.

They were incorrectly defined as
pkgconfigdir = /lib/pkgconfig

which is wrong since  is not always lib/.

Thanks!
Matt Turner

http://bugs.gentoo.org/show_bug.cgi?id=349558
diff -u popt-1.16.orig/Makefile.am popt-1.16/Makefile.am
--- popt-1.16.orig/Makefile.am	2010-05-04 16:55:54.000000000 -0400
+++ popt-1.16/Makefile.am	2010-12-23 22:45:36.347131000 -0500
@@ -47,7 +47,7 @@
 libpopt_la_SOURCES = popt.c poptparse.c poptconfig.c popthelp.c poptint.c
 libpopt_la_LDFLAGS = -no-undefined @LTLIBINTL@ @LTLIBICONV@
 
-pkgconfigdir = $(prefix)/lib/pkgconfig
+pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = popt.pc
 
 if HAVE_LD_VERSION_SCRIPT
diff -u popt-1.16.orig/Makefile.in popt-1.16/Makefile.in
--- popt-1.16.orig/Makefile.in	2010-05-04 16:55:59.000000000 -0400
+++ popt-1.16/Makefile.in	2010-12-23 22:45:42.843131000 -0500
@@ -370,7 +370,7 @@
 libpopt_la_SOURCES = popt.c poptparse.c poptconfig.c popthelp.c poptint.c
 libpopt_la_LDFLAGS = -no-undefined @LTLIBINTL@ @LTLIBICONV@ \
 	$(am__append_1)
-pkgconfigdir = $(prefix)/lib/pkgconfig
+pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = popt.pc
 man_MANS = popt.3
 BUILT_SOURCES = popt.pc # popt.lcd

Reply via email to