aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gnuplot.rb
diff options
context:
space:
mode:
authorJack Nagel2014-11-13 12:08:06 -0600
committerJack Nagel2014-11-13 12:08:06 -0600
commit9ef67d8cddffdeb4fb7a44ea52490f43634cfdb8 (patch)
treea8ed7f2b13f67241172a84d8a686f27af6bf6535 /Library/Formula/gnuplot.rb
parent001316a706295f8513c6bf9b2798d133c4190bc5 (diff)
downloadhomebrew-9ef67d8cddffdeb4fb7a44ea52490f43634cfdb8.tar.bz2
gnuplot: update x11 option
Diffstat (limited to 'Library/Formula/gnuplot.rb')
-rw-r--r--Library/Formula/gnuplot.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/gnuplot.rb b/Library/Formula/gnuplot.rb
index 74a44c416..726ccd207 100644
--- a/Library/Formula/gnuplot.rb
+++ b/Library/Formula/gnuplot.rb
@@ -28,7 +28,6 @@ class Gnuplot < Formula
option 'pdf', 'Build the PDF terminal using pdflib-lite'
option 'wx', 'Build the wxWidgets terminal using pango'
- option 'with-x', 'Build the X11 terminal'
option 'qt', 'Build the Qt4 terminal'
option 'cairo', 'Build the Cairo based terminals'
option 'nolua', 'Build without the lua/TikZ terminal'
@@ -38,6 +37,8 @@ class Gnuplot < Formula
option 'latex', 'Build with LaTeX support'
option 'with-aquaterm', 'Build with AquaTerm support'
+ deprecated_option "with-x" => "with-x11"
+
depends_on 'pkg-config' => :build
depends_on LuaRequirement unless build.include? 'nolua'
depends_on 'readline'
@@ -46,7 +47,7 @@ class Gnuplot < Formula
depends_on "libtiff"
depends_on "fontconfig"
depends_on 'pango' if build.include? 'cairo' or build.include? 'wx'
- depends_on :x11 if build.with? "x"
+ depends_on :x11 => :optional
depends_on 'pdflib-lite' if build.include? 'pdf'
depends_on 'gd' unless build.include? 'nogd'
depends_on 'wxmac' if build.include? 'wx'
@@ -95,7 +96,7 @@ class Gnuplot < Formula
args << '--without-lisp-files' if build.without? "emacs"
args << (build.with?('aquaterm') ? '--with-aquaterm' : '--without-aquaterm')
- if build.with? "x"
+ if build.with? "x11"
args << "--with-x"
else
args << "--without-x"