summaryrefslogtreecommitdiff
path: root/audio/lmms/lmms.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2012-09-19 21:55:25 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-09-22 11:40:53 -0500
commitf199099a2d59a75c6516a2d57120266ad78f67a8 (patch)
treed879f5d30c27d078e456714a924b8b476479282e /audio/lmms/lmms.SlackBuild
parent5cfe53ebfc88debe16441b8125aa263536dbd683 (diff)
downloadslackbuilds-f199099a2d59a75c6516a2d57120266ad78f67a8.tar.gz
audio/lmms: Fix build on x86_64
Thanks to David Somero for the heads-up and fix. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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