Lines 1-24
Link Here
|
1 |
--- wscript~ |
1 |
--- wscript.orig 2010-02-19 18:43:54.000000000 +0100 |
2 |
+++ wscript |
2 |
+++ wscript 2010-03-17 15:21:16.184861151 +0100 |
3 |
@@ -297,7 +297,7 @@ def configure(conf): |
3 |
@@ -303,7 +303,7 @@ |
4 |
conf.env['PKGCONFIGDIR'] = Options.options.pkgconfigdir |
4 |
conf.env['PKGCONFIGDIR'] = Options.options.pkgconfigdir |
5 |
print(conf.env['PKGCONFIGDIR']) |
5 |
print(conf.env['PKGCONFIGDIR']) |
6 |
else: |
6 |
else: |
7 |
- conf.env['PKGCONFIGDIR'] = os.path.join(conf.env["PREFIX"], "lib", "pkgconfig") |
7 |
- conf.env['PKGCONFIGDIR'] = os.path.join(conf.env["LIBDIR"], "pkgconfig") |
8 |
+ conf.env['PKGCONFIGDIR'] = os.path.join(conf.env["PREFIX"], "libdata", "pkgconfig") |
8 |
+ conf.env['PKGCONFIGDIR'] = os.path.join(conf.env["PREFIX"], "libdata", "pkgconfig") |
9 |
|
9 |
|
10 |
if Options.options.config_prefix: |
10 |
if Options.options.config_prefix: |
11 |
for dir in Options.options.config_prefix: |
11 |
for dir in Options.options.config_prefix: |
12 |
@@ -476,12 +476,5 @@ def set_options(opt): |
12 |
@@ -480,15 +480,6 @@ |
13 |
opt.sub_options(o) |
13 |
opt.sub_options(o) |
14 |
|
14 |
|
15 |
def shutdown(): |
15 |
def shutdown(): |
16 |
- if Options.commands['install'] and os.geteuid() == 0: |
16 |
- if Options.commands['install'] and ( |
|
|
17 |
- Options.options.ldconfig or |
18 |
- (Options.options.ldconfig is None and os.geteuid() == 0) |
19 |
- ): |
17 |
- ldconfig = '/sbin/ldconfig' |
20 |
- ldconfig = '/sbin/ldconfig' |
18 |
- if os.path.isfile(ldconfig): |
21 |
- if os.path.isfile(ldconfig): |
19 |
- libprefix = Utils.subst_vars('${PREFIX}/lib', Build.bld.env) |
22 |
- libprefix = Utils.subst_vars('${PREFIX}/lib', Build.bld.env) |
20 |
- try: Utils.cmd_output(ldconfig + ' ' + libprefix) |
23 |
- try: Utils.cmd_output(ldconfig + ' ' + libprefix) |
21 |
- except: pass |
24 |
- except: pass |
22 |
- |
25 |
|
23 |
if Options.options.run_tests: |
26 |
if Options.options.run_tests: |
24 |
os.system(os.path.join(os.getenv('WAF_HOME'), "default/tests/test_xmmstypes")) |
27 |
os.system(os.path.join(blddir, "default/tests/test_xmmstypes")) |