From 2f8c19ad2b881d2865d0a0474fc53c297aa7734c Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 3 Apr 2014 19:52:10 -0500 Subject: [PATCH] gnuplot: disable X explicitly unless requested --- Formula/gnuplot.rb | 7 +++++++ 1 file changed, 7 insertions(+) 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'