diff options
Diffstat (limited to 'audio/xmms2/files/patch-wscript')
-rw-r--r-- | audio/xmms2/files/patch-wscript | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/audio/xmms2/files/patch-wscript b/audio/xmms2/files/patch-wscript new file mode 100644 index 000000000000..c28784b2bb66 --- /dev/null +++ b/audio/xmms2/files/patch-wscript @@ -0,0 +1,24 @@ +--- wscript~ ++++ wscript +@@ -297,7 +297,7 @@ def configure(conf): + conf.env['PKGCONFIGDIR'] = Options.options.pkgconfigdir + print(conf.env['PKGCONFIGDIR']) + else: +- conf.env['PKGCONFIGDIR'] = os.path.join(conf.env["PREFIX"], "lib", "pkgconfig") ++ conf.env['PKGCONFIGDIR'] = os.path.join(conf.env["PREFIX"], "libdata", "pkgconfig") + + if Options.options.config_prefix: + for dir in Options.options.config_prefix: +@@ -476,12 +476,5 @@ def set_options(opt): + opt.sub_options(o) + + def shutdown(): +- if Options.commands['install'] and os.geteuid() == 0: +- ldconfig = '/sbin/ldconfig' +- if os.path.isfile(ldconfig): +- libprefix = Utils.subst_vars('${PREFIX}/lib', Build.bld.env) +- try: Utils.cmd_output(ldconfig + ' ' + libprefix) +- except: pass +- + if Options.options.run_tests: + os.system(os.path.join(os.getenv('WAF_HOME'), "default/tests/test_xmmstypes")) |