[Pkg-isocodes-utils] [patch] iso-codes - pkgconfig dir doesnt play well with multilib
Christopher Aillon
caillon@redhat.com
Mon, 13 Jun 2005 17:38:15 -0400
This is a multi-part message in MIME format.
--------------000608030302070405010508
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
iso-codes is a platform neutral package, so we create "noarch" packages
of iso-codes. If the system building the noarch package is 32bit, the
.pc file is placed in its libdir, which is /usr/lib. When that same
package is installed on a 64bit machine, pkg-config --exists returns
false because it looks in /usr/lib64. Similar badness occurs in the
reverse case as well. So, the pkgconfig file should be installed to the
system datadir instead of a libdir.
Patch is attached.
--------------000608030302070405010508
Content-Type: text/x-patch;
name="iso-codes-0.46-pkgconfigdir.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="iso-codes-0.46-pkgconfigdir.patch"
--- iso-codes-0.46/Makefile.am.orig 2005-06-13 17:26:49.000000000 -0400
+++ iso-codes-0.46/Makefile.am 2005-06-13 17:26:59.000000000 -0400
@@ -1,6 +1,6 @@
SUBDIRS = iso_639 iso_3166 iso_4217 notes
-pkgconfigdir = $(libdir)/pkgconfig
+pkgconfigdir = $(datadir)/pkgconfig
pkgconfig_DATA = iso-codes.pc
EXTRA_DIST = \
--------------000608030302070405010508--