summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2020-09-11 14:16:15 +0200
committer Matteo Bernardini2021-02-27 10:37:01 +0100
commit750703ef6ae2dd4f192055258288f299d91e119c (patch)
treea7992131f797e87d00666553d1fcb691d401924c
parent9aa1498acb0841d4ce656319a4de5cc157b4e2ed (diff)
downloadslackbuilds-mixxx.tar.gz
audio/mixxx: Fix for a python3-based scons.mixxx
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--audio/mixxx/mixxx.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/mixxx/mixxx.SlackBuild b/audio/mixxx/mixxx.SlackBuild
index 18a05fe4a1..0d7be9a60e 100644
--- a/audio/mixxx/mixxx.SlackBuild
+++ b/audio/mixxx/mixxx.SlackBuild
@@ -72,6 +72,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
+# scons is now python3 based
+sed -i "s|from features|from .features|" build/depends.py
+
# Fix library installation path
sed -i "s|'lib'|'lib$LIBDIRSUFFIX'|" build/depends.py src/SConscript || exit 1
sed -i "s|usr/lib|usr/lib$LIBDIRSUFFIX|" src/SConscript || exit 1