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

25 lines
945 B

diff -up waf-1.5.2/waf-light.orig waf-1.5.2/waf-light
--- waf-1.5.2/waf-light.orig 2008-12-22 00:31:57.000000000 +0100
+++ waf-1.5.2/waf-light 2009-01-16 17:13:00.000000000 +0100
@@ -102,7 +102,7 @@ def find_lib():
if w: return w
err("waf-light requires wafadmin -> export WAFDIR=/folder")
- dir = "/lib/waf-%s-%s/" % (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.2/wscript.orig waf-1.5.2/wscript
--- waf-1.5.2/wscript.orig 2008-12-22 00:31:57.000000000 +0100
+++ waf-1.5.2/wscript 2009-01-16 17:13:00.000000000 +0100
@@ -318,7 +318,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'])