Blame SOURCES/popt-1.16-pkgconfig.patch

093822
Patch by Robert Scheck <robert@fedoraproject.org> for popt <= 1.16 which changes
093822
$(pkgconfigdir) on 64 bit systems from /usr/lib/pkgconfig to /usr/lib64/pkgconfig.
093822
Using $(libdir)/pkgconfig rather $(prefix)/lib/pkgconfig seems to be common when
093822
searching on the Internet. This patch however is not really compliant with Fedora
093822
/%{_lib} vs. %{_libdir} handling before the UsrMove with Fedora 17. Alternatively
093822
--with-pkgconfigdir or similar should be implemented.
093822
093822
This patch was proposed to upstream: http://rpm5.org/community/popt-devel/0265.html
093822
093822
--- popt-1.16/Makefile.in			2010-05-04 22:55:59.000000000 +0200
093822
+++ popt-1.16/Makefile.in.pkgconfig		2013-11-24 15:06:43.000000000 +0100
093822
@@ -370,7 +370,7 @@
093822
 libpopt_la_SOURCES = popt.c poptparse.c poptconfig.c popthelp.c poptint.c
093822
 libpopt_la_LDFLAGS = -no-undefined @LTLIBINTL@ @LTLIBICONV@ \
093822
 	$(am__append_1)
093822
-pkgconfigdir = $(prefix)/lib/pkgconfig
093822
+pkgconfigdir = $(libdir)/pkgconfig
093822
 pkgconfig_DATA = popt.pc
093822
 man_MANS = popt.3
093822
 BUILT_SOURCES = popt.pc # popt.lcd
093822
--- popt-1.16/Makefile.am			2010-05-04 22:55:54.000000000 +0200
093822
+++ popt-1.16/Makefile.am.pkgconfig		2013-11-24 15:02:21.000000000 +0100
093822
@@ -47,7 +47,7 @@
093822
 libpopt_la_SOURCES = popt.c poptparse.c poptconfig.c popthelp.c poptint.c
093822
 libpopt_la_LDFLAGS = -no-undefined @LTLIBINTL@ @LTLIBICONV@
093822
 
093822
-pkgconfigdir = $(prefix)/lib/pkgconfig
093822
+pkgconfigdir = $(libdir)/pkgconfig
093822
 pkgconfig_DATA = popt.pc
093822
 
093822
 if HAVE_LD_VERSION_SCRIPT