aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/plplot.rb
diff options
context:
space:
mode:
authorJack Nagel2014-04-03 09:14:06 -0500
committerJack Nagel2014-04-03 09:29:20 -0500
commite640026a9d8a4ddba2da2047921813d1df2df357 (patch)
tree27c7893802b4c90958d683232882d6f5e7909ec7 /Library/Formula/plplot.rb
parenta3b9b4890d1c26dc3fe3cfedbe2d22a189defca2 (diff)
downloadhomebrew-e640026a9d8a4ddba2da2047921813d1df2df357.tar.bz2
Get rid of "use X11 if it's installed" deps
Closes #28096.
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"