Panu Matilainen 3fd553
Set PKG_CONFIG_PATH correctly wrt target arch.
Panu Matilainen 3fd553
Optimally belongs in redhat-rpm-config but easier to just add here...
Panu Matilainen 3fd553
Panu Matilainen 3fd553
--- rpm-4.4.2/macros.in.pkgconfigpath	2007-01-30 15:57:37.000000000 -0500
Panu Matilainen 3fd553
+++ rpm-4.4.2/macros.in	2007-01-30 16:04:25.000000000 -0500
Panu Matilainen 3fd553
@@ -926,6 +926,8 @@
Panu Matilainen 3fd553
   export RPM_BUILD_ROOT}\
Panu Matilainen 3fd553
   %{?_javaclasspath:CLASSPATH=\"%{_javaclasspath}\"\
Panu Matilainen 3fd553
   export CLASSPATH}\
Panu Matilainen 3fd553
+  PKG_CONFIG_PATH=\"%{_libdir}/pkgconfig:%{_datadir}/pkgconfig\"\
Panu Matilainen 3fd553
+  export PKG_CONFIG_PATH\
Panu Matilainen 3fd553
   \
Panu Matilainen 3fd553
   %{verbose:set -x}%{!verbose:exec > /dev/null}\
Panu Matilainen 3fd553
   umask 022\