aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-09-11 14:16:15 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:43:02 -0500
commit65bfe5d417d72ffbe04e1ad423d79f03889a880f (patch)
treeda94b3154ab1cbde2b0ee83e71f2b5f696abb698 /audio
parent80c933d6bf902d046b893e4dfd0e812623901060 (diff)
audio/mixxx: Fix for a python3-based scons.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio')
-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 18a05fe4a122a..0d7be9a60e050 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