gnuplot: disable X explicitly unless requested

This commit is contained in:
Jack Nagel 2014-04-03 19:52:10 -05:00
parent c8cbe317b2
commit 2f8c19ad2b

View file

@ -71,6 +71,7 @@ class Gnuplot < Formula
args = %W[
--disable-dependency-tracking
--disable-silent-rules
--prefix=#{prefix}
--with-readline=#{readline}
]
@ -84,6 +85,12 @@ class Gnuplot < Formula
args << '--without-lisp-files' if build.without? "emacs"
args << (build.with?('aquaterm') ? '--with-aquaterm' : '--without-aquaterm')
if build.with? "x"
args << "--with-x"
else
args << "--without-x"
end
if build.include? 'latex'
args << '--with-latex'
args << '--with-tutorial'