]> git.pld-linux.org Git - packages/waf.git/blob - waf-path.patch
- up to fit 1.5.13
[packages/waf.git] / waf-path.patch
1 diff -burNp waf-1.5.13/waf-light waf-1.5.13-dud/waf-light
2 --- waf-1.5.13/waf-light        2010-02-16 22:42:45.000000000 +0100
3 +++ waf-1.5.13-dud/waf-light    2010-03-02 23:37:42.640873759 +0100
4 @@ -1,4 +1,4 @@
5 -#!/usr/bin/env python
6 +#!/usr/bin/python
7  # encoding: ISO8859-1
8  # Thomas Nagy, 2005-2010
9  
10 @@ -127,7 +127,7 @@ def find_lib():
11                 if w: return w
12                 err("waf-light requires wafadmin -> export WAFDIR=/folder")
13  
14 -       dir = "/lib/%s-%s-%s/" % (WAF, VERSION, REVISION)
15 +       dir = "/lib/waf/"
16         for i in [INSTALL,'/usr','/usr/local','/opt']:
17                 w = test(i+dir)
18                 if w: return w
19 diff -burNp waf-1.5.13/wscript waf-1.5.13-dud/wscript
20 --- waf-1.5.13/wscript  2010-02-16 22:42:46.000000000 +0100
21 +++ waf-1.5.13-dud/wscript      2010-03-02 23:38:37.807336784 +0100
22 @@ -313,7 +313,7 @@ def build(bld):
23                 if val != True and val != "y": sys.exit(1)
24                 create_waf()
25  
26 -       dir = os.path.join('lib', 'waf-%s-%s' % (VERSION, REVISION), 'wafadmin')
27 +       dir = os.path.join('lib', 'waf', 'wafadmin')
28  
29         wafadmin = bld('py')
30         wafadmin.find_sources_in_dirs('wafadmin', exts=['.py'])
This page took 0.072373 seconds and 4 git commands to generate.