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/mixxx21/files/patch-build_mixxx.py | |
| 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
Diffstat (limited to 'audio/mixxx21/files/patch-build_mixxx.py')
| -rw-r--r-- | audio/mixxx21/files/patch-build_mixxx.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/audio/mixxx21/files/patch-build_mixxx.py b/audio/mixxx21/files/patch-build_mixxx.py new file mode 100644 index 000000000000..1ee0a37c9389 --- /dev/null +++ b/audio/mixxx21/files/patch-build_mixxx.py @@ -0,0 +1,27 @@ +--- build/mixxx.py 2018-04-15 13:30:27.000000000 -0500 ++++ build/mixxx.py 2018-04-21 22:31:31.694426000 -0500 +@@ -394,9 +394,9 @@ + self.env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS']) + + # Allow installation directories to be specified. +- prefix = Script.ARGUMENTS.get('prefix', '/usr/local') ++ prefix = Script.ARGUMENTS.get('prefix', '%%PREFIX%%') + if 'LIBDIR' in os.environ: +- self.env['LIBDIR'] = os.path.relpath(os.environ['LIBDIR'], prefix) ++ self.env['LIBDIR'] = 'lib' # os.path.relpath(os.environ['LIBDIR'], prefix) + if 'BINDIR' in os.environ: + self.env['BINDIR'] = os.path.relpath(os.environ['BINDIR'], prefix) + if 'SHAREDIR' in os.environ: +@@ -429,10 +429,10 @@ + def install_options(self): + cachefile = os.path.join(self.get_cache_dir(), 'custom.py') + vars = Script.Variables(cachefile) +- vars.Add('prefix', 'Set to your install prefix', '/usr/local') ++ vars.Add('prefix', 'Set to your install prefix', '%%PREFIX%%') + vars.Add('virtualize', + 'Dynamically swap out the build directory when switching Git branches.', 1) +- vars.Add('qtdir', 'Set to your QT4 directory', '/usr/share/qt4') ++ vars.Add('qtdir', 'Set to your QT4 directory', '%%LOCALBASE%%/share/qt4') + vars.Add('qt_sqlite_plugin', 'Set to 1 to package the Qt SQLite plugin.' + '\n Set to 0 if SQLite support is compiled into QtSQL.', 0) + vars.Add('target', |
