diff options
| author | Jack Nagel | 2014-04-03 19:52:10 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-04-03 19:52:10 -0500 |
| commit | 857d44a844db0afd583db1374aebfaa47341e3b4 (patch) | |
| tree | 521ec74a6317b9f7783511661d6af0be903da622 /Library | |
| parent | daef7086378ae1608d90743c7f3261d689f46356 (diff) | |
| download | homebrew-857d44a844db0afd583db1374aebfaa47341e3b4.tar.bz2 | |
gnuplot: disable X explicitly unless requested
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gnuplot.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/gnuplot.rb b/Library/Formula/gnuplot.rb index 946665cd6..2b10beb8e 100644 --- a/Library/Formula/gnuplot.rb +++ b/Library/Formula/gnuplot.rb @@ -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' |
