diff --git a/Formula/gnuplot.rb b/Formula/gnuplot.rb index 946665cd60..2b10beb8e3 100644 --- a/Formula/gnuplot.rb +++ b/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'