GNOME Bugzilla – Bug 134537
gar.conf.mk overwrites PKG_CONFIG_PATH
Last modified: 2004-12-22 21:47:04 UTC
If there is already a PKG_CONFIG_PATH variable set in the enviroment when garnome is used it will be ignored. In gar.conf.mk a new PKG_CONFIG_PATH is created without reference to the current varaiable. This is a problem when the user has installed X into some non-standard location, such as /opt/XFree86-4.4RC2/. It would be nice to be able to use gnarome as follows > PKG_CONFIG_PATH=/opt/XFree86-4.4RC2/lib/pkgconfig make paranoid-install but it will not find any Xfree pkg files.
Thanks, I've made sure the current one is added to the end of the variable in the makefile like so: PKG_CONFIG_PATH := $(DESTDIR)$(libdir)/pkgconfig:/usr/lib/pkgconfig:$(PKG_CONFIG_PATH)
hmmz can't you make it an option just like build_clean and garchivedir? Personally I like having the build contained like this
It will be if what it requires is in your GARNOME prefix, that's why the existing PKG_CONFIG_PATH is plopped in last. :-)