Blob Blame Raw
diff -up Bcp-1.3.8/Makefile.in.orig Bcp-1.3.8/Makefile.in
--- Bcp-1.3.8/Makefile.in.orig	2014-03-28 12:24:14.281996505 -0300
+++ Bcp-1.3.8/Makefile.in	2014-03-28 12:24:51.570997933 -0300
@@ -944,7 +944,7 @@ distclean-local:
 
 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 bcp > $(addlibsdir)/bcp_addlibs.txt
 @COIN_CXX_IS_CL_TRUE@@COIN_HAS_PKGCONFIG_FALSE@	echo "-libpath:`$(CYGPATH_W) @abs_lib_dir@` libBcp.lib @BCPLIB_LIBS_INSTALLED@" > $(addlibsdir)/bcp_addlibs.txt
 @COIN_CXX_IS_CL_TRUE@@COIN_HAS_PKGCONFIG_FALSE@	echo "-libpath:`$(CYGPATH_W) @abs_lib_dir@` libBcp.lib @BCPLIB_LIBS_INSTALLED@" > $(addlibsdir)/bcp_addlibs_cpp.txt