ports/audio/xmms2/files/patch-wscript
Guido Falsi 2542e7f308 - Update xmms2 to 0.8 [1]
- Add SNDFILE option [1]
- Don't install test and debugging components by default [2]
- Fix slave ports
- Take maintainership

PR:		ports/163056
Submitted by:	Jan Beich <jbeich@tormail.net> [1] and [2] partly
Approved by:    crees (mentor)
2012-05-08 18:47:50 +00:00

30 lines
1.3 KiB
Text

--- wscript.orig 2011-10-20 21:26:08.000000000 +0200
+++ wscript 2012-05-06 18:28:07.902349353 +0200
@@ -295,9 +295,6 @@
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 +327,7 @@
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 +336,8 @@
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'])