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

25 lines
949 B

diff -up waf-1.5.9/waf-light.orig waf-1.5.9/waf-light
--- waf-1.5.9/waf-light.orig 2009-08-29 15:32:07.000000000 +0200
+++ waf-1.5.9/waf-light 2009-08-31 19:08:19.000000000 +0200
@@ -123,7 +123,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 -up waf-1.5.9/wscript.orig waf-1.5.9/wscript
--- waf-1.5.9/wscript.orig 2009-08-29 15:32:07.000000000 +0200
+++ waf-1.5.9/wscript 2009-08-31 19:08:19.000000000 +0200
@@ -317,7 +317,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.new_task_gen('py')
wafadmin.find_sources_in_dirs('wafadmin', exts=['.py'])