From c20fbd65f7ddcfbb3ecd5ec7cf352e8a977741ff Mon Sep 17 00:00:00 2001 From: ponce Date: Wed, 25 Jul 2012 12:55:36 +0200 Subject: [PATCH] audio/portmidi: Fixed building with openjdk. Signed-off-by: Robby Workman --- audio/portmidi/portmidi.SlackBuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/audio/portmidi/portmidi.SlackBuild b/audio/portmidi/portmidi.SlackBuild index f88f9f8123..f8e60e0a12 100644 --- a/audio/portmidi/portmidi.SlackBuild +++ b/audio/portmidi/portmidi.SlackBuild @@ -87,6 +87,10 @@ cmake . \ -DCMAKE_CACHEFILE_DIR=$(pwd) \ -DJAVA_JVM_LIBRARY="/usr/lib$LIBDIRSUFFIX/libjvm.so" +# some wrong paths expose with openjdk, fix them +# https://bugs.archlinux.org/task/29214 +sed -i "s|pm_java/pm_java|pm_java|" pm_java/CMakeFiles/pmdefaults_target.dir/build.make + make all \ CFLAGS="-fPIC" \ PMFLAGS="-DNEWBUFFER"