aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/portmidi.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/portmidi.rb')
-rw-r--r--Library/Formula/portmidi.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/portmidi.rb b/Library/Formula/portmidi.rb
index 259ced5ab..4a92124db 100644
--- a/Library/Formula/portmidi.rb
+++ b/Library/Formula/portmidi.rb
@@ -14,7 +14,7 @@ class Portmidi < Formula
def patches
# Avoid that the Makefile.osx builds the java app and fails because: fatal error: 'jni.h' file not found
# Since 217 the Makefile.osx includes pm_common/CMakeLists.txt wich builds the Java app
- DATA unless build.include? 'with-java'
+ DATA if build.without? "java"
end
def install