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.13-libdir.patch

27 lines
772 B

15 years ago
diff --git a/waf-light b/waf-light
15 years ago
index f828e0e..b116d40 100755
15 years ago
--- a/waf-light
+++ b/waf-light
@@ -127,7 +127,7 @@ def find_lib():
16 years ago
if w: return w
err("waf-light requires wafadmin -> export WAFDIR=/folder")
16 years ago
- dir = "/lib/%s-%s-%s/" % (WAF, VERSION, REVISION)
16 years ago
+ dir = "/share/waf/"
for i in [INSTALL,'/usr','/usr/local','/opt']:
w = test(i+dir)
if w: return w
15 years ago
diff --git a/wscript b/wscript
15 years ago
index 8343ac7..5b45aa3 100644
15 years ago
--- a/wscript
+++ b/wscript
@@ -313,7 +313,7 @@ def build(bld):
16 years ago
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')
15 years ago
wafadmin = bld('py')
16 years ago
wafadmin.find_sources_in_dirs('wafadmin', exts=['.py'])