summaryrefslogtreecommitdiff
path: root/audio/lmms/lmms.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/lmms/lmms.SlackBuild')
-rw-r--r--audio/lmms/lmms.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/lmms/lmms.SlackBuild b/audio/lmms/lmms.SlackBuild
index 3282a6ab7f..ead56470a0 100644
--- a/audio/lmms/lmms.SlackBuild
+++ b/audio/lmms/lmms.SlackBuild
@@ -52,14 +52,15 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-sed -i 's|lib64|lib|g' cmake/modules/DetectMachine.cmake
patch -p1 < $CWD/lmms-unlink.patch
+
mkdir build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib${LIBDIRSUFFIX} \
..
make VERBOSE=1