diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2021-01-01 10:11:34 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2021-01-01 10:11:34 +0000 |
commit | 26b4c8f71f91d22e081b27814782686edde0c90a (patch) | |
tree | 1c321c39372c25d8634e75b5c8e08edc676b296d /audio/xmms2/files/patch-src_include_wscript | |
parent | New port: math/py-optuna: A hyperparameter optimization framework (diff) |
Revert r559792 to unbreak INDEX and bulk -a
It seems a lot of reverse dependencies were missed
With hat: portmgr
Notes
Notes:
svn path=/head/; revision=559822
Diffstat (limited to 'audio/xmms2/files/patch-src_include_wscript')
-rw-r--r-- | audio/xmms2/files/patch-src_include_wscript | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/audio/xmms2/files/patch-src_include_wscript b/audio/xmms2/files/patch-src_include_wscript new file mode 100644 index 000000000000..a4e84c9edaa5 --- /dev/null +++ b/audio/xmms2/files/patch-src_include_wscript @@ -0,0 +1,22 @@ +--- src/include/wscript.orig 2011-10-20 19:26:08 UTC ++++ src/include/wscript +@@ -2,12 +2,13 @@ import os + + 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: |