[PATCH] jhbuildrc: Append $prefix/share/pkgconfig to PKG_CONFIG_PATH

Dan Nicholson dbn.lists at gmail.com
Fri Oct 16 06:32:35 PDT 2009


This is needed in the future of arch-independent .pc files.

Signed-off-by: Dan Nicholson <dbn.lists at gmail.com>
---
 jhbuildrc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/jhbuildrc b/jhbuildrc
index d7b50be..de6a037 100644
--- a/jhbuildrc
+++ b/jhbuildrc
@@ -18,7 +18,8 @@ modules = [ 'xorg' ]
 checkoutroot = os.environ['HOME']
 prefix = os.path.join(os.environ['HOME'], 'xorg-build')
 os.environ['ACLOCAL'] = 'aclocal -I ' + os.path.join(prefix, 'share', 'aclocal')
-os.environ['PKG_CONFIG_PATH'] = os.path.join(prefix, 'lib', 'pkgconfig')
+os.environ['PKG_CONFIG_PATH'] = os.path.join(prefix, 'lib', 'pkgconfig') \
+    + ':' + os.path.join(prefix, 'share', 'pkgconfig')
 
 #autogenargs='--cache-file=/usr/src/jhmodular/configure-cache --disable-static'
 #os.environ['INSTALL'] = os.path.join(os.environ['HOME'], 'bin', 'install-check')
-- 
1.6.2.5


More information about the xorg-devel mailing list