diff options
Diffstat (limited to 'audio/xmms2/files/patch-wscript')
-rw-r--r-- | audio/xmms2/files/patch-wscript | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/audio/xmms2/files/patch-wscript b/audio/xmms2/files/patch-wscript new file mode 100644 index 000000000000..de05e67ce918 --- /dev/null +++ b/audio/xmms2/files/patch-wscript @@ -0,0 +1,40 @@ +--- wscript.orig 2011-10-20 19:26:08 UTC ++++ wscript +@@ -131,7 +131,8 @@ def build(bld): + VERSION = bld.env.VERSION + ) + +- bld.install_files('${SHAREDDIR}', "mind.in.a.box-lament_snipplet.ogg") ++ if bld.env.BUILD_XMMS2D: ++ bld.install_files('${SHAREDDIR}', "mind.in.a.box-lament_snipplet.ogg") + + bld.add_post_fun(shutdown) + +@@ -295,9 +296,6 @@ def configure(conf): + conf.msg("uncommited changed", changed and "yes" or "no") + conf.env.VERSION = "%s (git commit: %s%s)" % (BASEVERSION, nam, dirty) + +- conf.env.append_unique('CFLAGS', ['-g', '-O0']) +- conf.env.append_unique('CXXFLAGS', ['-g', '-O0']) +- + if conf.options.with_profiling: + conf.env.with_profiling = True + conf.env.append_unique('CFLAGS', ['--coverage']) +@@ -330,7 +328,7 @@ def configure(conf): + conf.env.PKGCONFIGDIR = conf.options.pkgconfigdir + Logs.pprint('Normal', conf.env.PKGCONFIGDIR) #XXX What is it ? + else: +- conf.env.PKGCONFIGDIR = os.path.join(conf.env.LIBDIR, 'pkgconfig') ++ conf.env.PKGCONFIGDIR = os.path.join(conf.env.PREFIX, 'libdata', 'pkgconfig') + + if conf.options.config_prefix: + for d in conf.options.config_prefix: +@@ -339,6 +337,8 @@ def configure(conf): + conf.env.prepend_value('LIBPATH', os.path.join(d, 'lib')) + conf.env.prepend_value('CPPPATH', os.path.join(d, 'include')) + ++ conf.env.prepend_value('LIBPATH', "%%WRKSRC%%/_build_/src/clients/lib/xmmsclient") ++ + if Options.platform != 'win32': + conf.env.append_unique('CFLAGS_cstlib', ['-fPIC', '-DPIC']) + conf.env.append_unique('CPPFLAGS_cxxshlib', ['-fPIC', '-DPIC']) |