diff options
author | ponce <matteo.bernardini@gmail.com> | 2012-07-25 12:55:36 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-08-22 08:56:55 -0500 |
commit | c20fbd65f7ddcfbb3ecd5ec7cf352e8a977741ff (patch) | |
tree | 3a468155ae89ca24c50a63e06f25875e1970cc95 /audio/portmidi | |
parent | 26de7100a2190908642efc22580ce2d62d33f663 (diff) |
audio/portmidi: Fixed building with openjdk.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
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 f88f9f8123b94..f8e60e0a12a24 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" |