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.
25 lines
1.0 KiB
25 lines
1.0 KiB
diff -up waf-1.4.4/waf-light.orig waf-1.4.4/waf-light
|
|
--- waf-1.4.4/waf-light.orig 2008-08-26 23:44:34.000000000 +0200
|
|
+++ waf-1.4.4/waf-light 2008-08-31 22:35:35.000000000 +0200
|
|
@@ -109,7 +109,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.4.4/wscript.orig waf-1.4.4/wscript
|
|
--- waf-1.4.4/wscript.orig 2008-08-26 23:44:34.000000000 +0200
|
|
+++ waf-1.4.4/wscript 2008-08-31 22:35:35.000000000 +0200
|
|
@@ -324,7 +324,7 @@ def build(bld):
|
|
wafadmin = bld.create_obj('py')
|
|
wafadmin.find_sources_in_dirs('wafadmin', exts=['.py'])
|
|
wafadmin.inst_var = 'PREFIX'
|
|
- wafadmin.inst_dir = os.path.join('lib', 'waf-%s-%s' % (VERSION, REVISION), 'wafadmin')
|
|
+ wafadmin.inst_dir = os.path.join('share', 'waf', 'wafadmin')
|
|
|
|
tools = bld.create_obj('py')
|
|
tools.find_sources_in_dirs('wafadmin/Tools', exts=['.py'])
|