summaryrefslogtreecommitdiff
path: root/pcr/waf/wafdir.patch
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-23 05:38:08 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-23 05:38:08 +0100
commit7f51bf94108bfabf5a8b619134dd69d020dd4b4e (patch)
tree56928e99d11f97373ce6149465e4eb33c4da5c13 /pcr/waf/wafdir.patch
parent3296af8ee6028bb02aa4833848ddc4917053bf38 (diff)
downloadabslibre-7f51bf94108bfabf5a8b619134dd69d020dd4b4e.tar.gz
abslibre-7f51bf94108bfabf5a8b619134dd69d020dd4b4e.tar.bz2
abslibre-7f51bf94108bfabf5a8b619134dd69d020dd4b4e.zip
pcr/waf: updated to 1.9.11
Diffstat (limited to 'pcr/waf/wafdir.patch')
-rw-r--r--pcr/waf/wafdir.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/pcr/waf/wafdir.patch b/pcr/waf/wafdir.patch
new file mode 100644
index 000000000..344738adf
--- /dev/null
+++ b/pcr/waf/wafdir.patch
@@ -0,0 +1,16 @@
+diff --git a/waf-light b/waf-light
+index 308eaae..2c75d2e 100755
+--- a/waf-light
++++ b/waf-light
+@@ -146,8 +146,9 @@ def find_lib():
+
+ dirname = '%s-%s-%s' % (WAF, VERSION, REVISION)
+ for i in (INSTALL,'/usr','/usr/local','/opt'):
+- w = test(i + '/lib/' + dirname)
+- if w: return w
++ for wafdir in ('waf', dirname):
++ w = test(i + '/lib/' + wafdir)
++ if w: return w
+
+ #waf-local
+ dir = join(base, (sys.platform != 'win32' and '.' or '') + dirname)