opnsense-ports/audio/xmms2/files/patch-src-include-wscript
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

22 lines
874 B
Text

--- src/include/wscript.orig 2011-10-20 21:26:08.000000000 +0200
+++ src/include/wscript 2013-05-24 17:17:24.643159743 +0200
@@ -2,12 +2,13 @@
def build(bld):
# FIXME: This is a test that should work.
- for d in bld.path.ant_glob('**', dir=True, src=False):
- rpath = d.path_from(bld.path)
- bld.recurse(rpath)
- f = d.ant_glob('*.h')
- if f:
- bld.install_files(os.path.join(bld.env.INCLUDEDIR, 'xmms2', rpath), f)
+ if bld.env.BUILD_XMMS2D:
+ for d in bld.path.ant_glob('**', dir=True, src=False):
+ rpath = d.path_from(bld.path)
+ bld.recurse(rpath)
+ f = d.ant_glob('*.h')
+ if f:
+ bld.install_files(os.path.join(bld.env.INCLUDEDIR, 'xmms2', rpath), f)
#paths = ['xmms', 'xmmsc', 'xmmsclient', 'xmmsclient/xmmsclient++']
#for p in paths: