--- waf-light.orig 2008-02-09 23:06:53.000000000 +0100 +++ waf-light 2008-02-10 19:38:32.000000000 +0100 @@ -107,7 +107,7 @@ 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 --- wscript.orig 2008-02-09 23:06:53.000000000 +0100 +++ wscript 2008-02-10 19:40:10.000000000 +0100 @@ -218,7 +218,7 @@ prefix = Params.g_options.prefix binpath = os.path.join(prefix, 'bin%swaf' % os.sep) - wafadmindir = os.path.join(prefix, 'lib%swaf-%s-%s%swafadmin%s' % (os.sep, VERSION, REVISION, os.sep, os.sep)) + wafadmindir = os.path.join(prefix, 'share%swaf%swafadmin%s' % (os.sep, os.sep, os.sep)) toolsdir = os.path.join(wafadmindir, 'Tools' + os.sep) try: os.makedirs(os.path.join(prefix, 'bin'))