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 c35b194ca..432e58b67 100644
--- a/Library/Formula/plplot.rb
+++ b/Library/Formula/plplot.rb
@@ -16,7 +16,7 @@ class Plplot < Formula
args = std_cmake_args
args << '-DPLD_wxwidgets=OFF' << '-DENABLE_wxwidgets=OFF'
args << '-DENABLE_java=OFF' if build.without? 'java'
- args << '-DPLD_xcairo=OFF' unless MacOS::X11.installed?
+ args << '-DPLD_xcairo=OFF' if build.without? 'x11'
mkdir "plplot-build" do
system "cmake", "..", *args
system "make"