From 26b4c8f71f91d22e081b27814782686edde0c90a Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Fri, 1 Jan 2021 10:11:34 +0000 Subject: Revert r559792 to unbreak INDEX and bulk -a It seems a lot of reverse dependencies were missed With hat: portmgr --- .../patch-src_clients_lib_xmmsclient-glib_wscript | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 audio/xmms2/files/patch-src_clients_lib_xmmsclient-glib_wscript (limited to 'audio/xmms2/files/patch-src_clients_lib_xmmsclient-glib_wscript') diff --git a/audio/xmms2/files/patch-src_clients_lib_xmmsclient-glib_wscript b/audio/xmms2/files/patch-src_clients_lib_xmmsclient-glib_wscript new file mode 100644 index 000000000000..782a4b98cafb --- /dev/null +++ b/audio/xmms2/files/patch-src_clients_lib_xmmsclient-glib_wscript @@ -0,0 +1,34 @@ +--- src/clients/lib/xmmsclient-glib/wscript.orig 2011-10-20 19:26:08 UTC ++++ src/clients/lib/xmmsclient-glib/wscript +@@ -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 + -- cgit v1.2.3