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>
This commit is contained in:
Robby Workman 2012-09-19 21:55:25 -05:00
parent 5cfe53ebfc
commit f199099a2d
2 changed files with 4 additions and 1 deletions

View file

@ -3,3 +3,5 @@ Studio, which allow you to produce music with your computer. This includes
the creation of melodies and beats, the synthesis and mixing of sounds, and
arranging of samples. You can have fun with your MIDI-keyboard and much
more; all in a user-friendly and modern interface.
jack-audio-connection-kit, portaudio, pulseaudio, fluidsynth are optional.

View file

@ -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