Blob Blame Raw
diff -up CoinUtils-2.9.12/Makefile.in.orig CoinUtils-2.9.12/Makefile.in
--- CoinUtils-2.9.12/Makefile.in.orig	2014-07-16 15:29:13.118592473 -0300
+++ CoinUtils-2.9.12/Makefile.in	2014-07-16 15:29:27.818593035 -0300
@@ -834,7 +834,7 @@ uninstall-local: uninstall-doc
 
 install-data-hook:
 	@$(mkdir_p) "$(addlibsdir)"
-@COIN_HAS_PKGCONFIG_TRUE@	PKG_CONFIG_PATH="@COIN_PKG_CONFIG_PATH@" \
+@COIN_HAS_PKGCONFIG_TRUE@	PKG_CONFIG_PATH=$(DESTDIR)$(pkgconfiglibdir) \
 @COIN_HAS_PKGCONFIG_TRUE@	"$(PKG_CONFIG)" --libs coinutils > $(addlibsdir)/coinutils_addlibs.txt
 @COIN_CXX_IS_CL_TRUE@@COIN_HAS_PKGCONFIG_FALSE@	echo "-libpath:`$(CYGPATH_W) @abs_lib_dir@` libCoinUtils.lib @COINUTILSLIB_LIBS_INSTALLED@" > $(addlibsdir)/coinutils_addlibs.txt
 @COIN_CXX_IS_CL_FALSE@@COIN_HAS_PKGCONFIG_FALSE@	echo -L@abs_lib_dir@ -lCoinUtils @COINUTILSLIB_LIBS_INSTALLED@ > $(addlibsdir)/coinutils_addlibs.txt