mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
f150089c5e
- While here hack build system to stop slave ports from overwriting master's files on installation Reported by: miwi [1]
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
--- src/clients/lib/xmmsclient-glib/wscript.orig 2013-05-24 16:43:51.815281865 +0200
|
|
+++ src/clients/lib/xmmsclient-glib/wscript 2013-05-24 17:00:04.966198019 +0200
|
|
@@ -1,19 +1,21 @@
|
|
from waftools import tool
|
|
|
|
def build(bld):
|
|
- obj = bld(features='c cshlib',
|
|
- target = 'xmmsclient-glib',
|
|
- includes = '../../../.. ../../../include',
|
|
- source = 'xmmsclient-glib.c',
|
|
- uselib = 'glib2',
|
|
- use = 'xmmsclient',
|
|
- vnum = '1.0.0'
|
|
- )
|
|
+ if bld.env.BUILD_XMMS2D:
|
|
+ obj = bld(features='c cshlib',
|
|
+ target = 'xmmsclient-glib',
|
|
+ includes = '../../../.. ../../../include',
|
|
+ source = 'xmmsclient-glib.c',
|
|
+ uselib = 'glib2',
|
|
+ use = 'xmmsclient',
|
|
+ vnum = '1.0.0'
|
|
+ )
|
|
|
|
- tool.add_install_flag(bld, obj)
|
|
+ tool.add_install_flag(bld, obj)
|
|
|
|
def configure(conf):
|
|
- conf.env.XMMS_PKGCONF_FILES.append(('xmms2-client-glib', '-lxmmsclient-glib'))
|
|
+ if not conf.options.without_xmms2d:
|
|
+ conf.env.XMMS_PKGCONF_FILES.append(('xmms2-client-glib', '-lxmmsclient-glib'))
|
|
|
|
return True
|
|
|