You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
waf/waf-1.5.19-libdir.patch

27 lines
783 B

diff --git a/waf-light b/waf-light
index dd568f3..035cdda 100755
--- a/waf-light
+++ b/waf-light
@@ -131,7 +131,7 @@ def find_lib():
if w: return w
err("waf-light requires wafadmin -> export WAFDIR=/folder")
- dir = "/lib/%s-%s-%s/" % (WAF, VERSION, REVISION)
+ dir = "/share/waf/"
for i in [INSTALL,'/usr','/usr/local','/opt']:
w = test(i+dir)
if w: return w
diff --git a/wscript b/wscript
index 52d3b6e..8e73abb 100644
--- a/wscript
+++ b/wscript
@@ -340,7 +340,7 @@ def build(bld):
if val != True and val != "y": sys.exit(1)
create_waf()
- dir = os.path.join('lib', 'waf-%s-%s' % (VERSION, REVISION), 'wafadmin')
+ dir = os.path.join('share', 'waf', 'wafadmin')
wafadmin = bld(features = 'py')
wafadmin.find_sources_in_dirs('wafadmin', exts=['.py'])