gnuplot: disable X explicitly unless requested
This commit is contained in:
parent
c8cbe317b2
commit
2f8c19ad2b
1 changed files with 7 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue