aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/plplot.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/plplot.rb')
-rw-r--r--Library/Formula/plplot.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/plplot.rb b/Library/Formula/plplot.rb
index 21f3197b8..60d861b2f 100644
--- a/Library/Formula/plplot.rb
+++ b/Library/Formula/plplot.rb
@@ -15,7 +15,7 @@ class Plplot < Formula
def install
args = std_cmake_args
args << '-DPLD_wxwidgets=OFF' << '-DENABLE_wxwidgets=OFF'
- args << '-DENABLE_java=OFF' unless build.with? 'java'
+ args << '-DENABLE_java=OFF' if build.without? 'java'
args << '-DPLD_xcairo=OFF' unless MacOS::X11.installed?
mkdir "plplot-build" do
system "cmake", "..", *args