summaryrefslogtreecommitdiff
path: root/audio/portmidi/portmidi.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/portmidi/portmidi.SlackBuild')
-rw-r--r--audio/portmidi/portmidi.SlackBuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/audio/portmidi/portmidi.SlackBuild b/audio/portmidi/portmidi.SlackBuild
index 86669a7913..93d39e6027 100644
--- a/audio/portmidi/portmidi.SlackBuild
+++ b/audio/portmidi/portmidi.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=portmidi
VERSION=${VERSION:-217}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -84,13 +84,12 @@ cmake . \
-DJAVA_AWT_INCLUDE_PATH="/usr/lib$LIBDIRSUFFIX/java/include" \
-DJAVA_INCLUDE_PATH="/usr/lib$LIBDIRSUFFIX/java/include" \
-DJAVA_INCLUDE_PATH2="/usr/lib$LIBDIRSUFFIX/java/include/linux" \
+ -DCMAKE_CACHEFILE_DIR=$(pwd) \
-DJAVA_JVM_LIBRARY="/usr/lib$LIBDIRSUFFIX/libjvm.so"
-make -j1 \
+make all \
CFLAGS="-fPIC" \
- PMFLAGS="-DNEWBUFFER" \
- all
-
+ PMFLAGS="-DNEWBUFFER"
make install DESTDIR=$PKG
rm -f $PKG/usr/lib$LIBDIRSUFFIX/libportmidi_s.a