diff options
| author | Charlie Sharpsteen | 2012-09-22 10:40:43 -0500 |
|---|---|---|
| committer | Charlie Sharpsteen | 2012-09-22 10:42:35 -0500 |
| commit | 627bb7c92e1ac60fa5fca69692da21c1a493b5b9 (patch) | |
| tree | 4172f354c774d3b0745dc6bacebd460190dc802d /Library | |
| parent | 694f5b0a6f8367c5d5c3e83c5efaf61740f77c6a (diff) | |
| download | homebrew-627bb7c92e1ac60fa5fca69692da21c1a493b5b9.tar.bz2 | |
gnuplot: Disable aquaterm by default
Adds a MacPorts patch that allows `--without-aquaterm` as a configuration
option and then invokes this option by default.
Fixes #14647.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gnuplot.rb | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/Library/Formula/gnuplot.rb b/Library/Formula/gnuplot.rb index 22be15a24..8296315db 100644 --- a/Library/Formula/gnuplot.rb +++ b/Library/Formula/gnuplot.rb @@ -26,15 +26,28 @@ class Gnuplot < Formula depends_on 'gd' unless build.include? 'nogd' depends_on 'wxmac' if build.include? 'wx' + def patches + # MacPorts patch --without-aquaterm as a configuration option. Submitted + # upstream: + # http://sourceforge.net/tracker/?func=detail&aid=3476165&group_id=2055&atid=302055 + {:p0 => 'https://trac.macports.org/export/96897/trunk/dports/math/gnuplot/files/patch-configure-aquaterm.diff'} + end + def install # Help configure find libraries readline = Formula.factory 'readline' pdflib = Formula.factory 'pdflib-lite' gd = Formula.factory 'gd' - args = ["--disable-debug", "--disable-dependency-tracking", - "--prefix=#{prefix}", - "--with-readline=#{readline.prefix}"] + # Aquaterm disabled due to breakage. See: + # https://github.com/mxcl/homebrew/issues/14647 + args = %W[ + --disable-debug + --disable-dependency-tracking + --prefix=#{prefix} + --with-readline=#{readline.prefix} + --without-aquaterm + ] args << '--disable-wxwidgets' unless build.include? 'wx' args << "--with-pdf=#{pdflib.prefix}" if build.include? 'pdf' |
