aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2015-01-17 22:41:36 -0600
committerJack Nagel2015-01-17 22:42:01 -0600
commitb43af0ec456f7338ccc8158e09645f8309a7f432 (patch)
treef0cd1faff6533e3afb8a304a87a532dd7ac93b2f
parentda9c35ccae6c955de0f3fc7d1fdf1539fe89297c (diff)
downloadhomebrew-b43af0ec456f7338ccc8158e09645f8309a7f432.tar.bz2
gnuplot: don't disable cairo when building with wx support
Closes #35815.
-rw-r--r--Library/Formula/gnuplot.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Formula/gnuplot.rb b/Library/Formula/gnuplot.rb
index 75f485a29..6c028e3bb 100644
--- a/Library/Formula/gnuplot.rb
+++ b/Library/Formula/gnuplot.rb
@@ -79,8 +79,12 @@ class Gnuplot < Formula
args << "--with-pdf=#{pdflib}" if build.with? "pdflib-lite"
args << ((build.with? "gd") ? "--with-gd=#{gd}" : "--without-gd")
- args << "--disable-wxwidgets" if build.without? "wxmac"
- args << "--without-cairo" if build.without? "cairo"
+
+ if build.without? "wxmac"
+ args << "--disable-wxwidgets"
+ args << "--without-cairo" if build.without? "cairo"
+ end
+
args << "--enable-qt" if build.with? "qt"
args << "--without-lua" if build.without? "lua"
args << "--without-lisp-files" if build.without? "emacs"