diff options
Diffstat (limited to 'audio/portmidi')
-rw-r--r-- | audio/portmidi/portmidi.SlackBuild | 4 |
1 files changed, 4 insertions, 0 deletions
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" |