[csw-devel] SF.net SVN: gar:[4683] csw/mgar/gar/v2/gar.conf.mk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue May 5 15:22:27 CEST 2009


Revision: 4683
          http://gar.svn.sourceforge.net/gar/?rev=4683&view=rev
Author:   dmichelsen
Date:     2009-05-05 13:22:27 +0000 (Tue, 05 May 2009)

Log Message:
-----------
mGAR v2: Fix PKG_CONFIG_PATH as it was not updated due to environment exportation

Modified Paths:
--------------
    csw/mgar/gar/v2/gar.conf.mk

Modified: csw/mgar/gar/v2/gar.conf.mk
===================================================================
--- csw/mgar/gar/v2/gar.conf.mk	2009-05-05 12:28:05 UTC (rev 4682)
+++ csw/mgar/gar/v2/gar.conf.mk	2009-05-05 13:22:27 UTC (rev 4683)
@@ -496,7 +496,9 @@
 
 # This is for foo-config chaos
 PKG_CONFIG_DIRS ?= $(libpath_install) $(libdir_install) $(EXTRA_PKG_CONFIG_DIRS)
-PKG_CONFIG_PATH ?= $(call MAKEPATH,$(foreach D,$(PKG_CONFIG_DIRS),$(abspath $D/$(MM_LIBDIR)/pkgconfig)) $(_CATEGORY_PKG_CONFIG_PATH) $(EXTRA_PKG_CONFIG_PATH))
+ifneq (,$(findstring $(origin PKG_CONFIG_PATH),undefined environment))
+PKG_CONFIG_PATH = $(call MAKEPATH,$(foreach D,$(PKG_CONFIG_DIRS),$(abspath $D/$(MM_LIBDIR)/pkgconfig)) $(_CATEGORY_PKG_CONFIG_PATH) $(EXTRA_PKG_CONFIG_PATH))
+endif
 
 #
 # Mirror Sites


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list