diff options
| author | Adam Vandenberg | 2012-11-01 07:53:41 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-11-01 07:53:41 -0700 |
| commit | 7b51c65ea93fa962b4d0fa6e4be804e5911d916d (patch) | |
| tree | e74b39d7d890801cad67e1b67b1becdbf23bdb66 /Library/Formula | |
| parent | 2f06c81aa97f750e216d510354e18bfe3f7f676c (diff) | |
| download | homebrew-7b51c65ea93fa962b4d0fa6e4be804e5911d916d.tar.bz2 | |
gnu-plot: add option to skip building emacs lisp files
Closes #15777.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gnuplot.rb | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/Library/Formula/gnuplot.rb b/Library/Formula/gnuplot.rb index 26c46e4b1..c15119130 100644 --- a/Library/Formula/gnuplot.rb +++ b/Library/Formula/gnuplot.rb @@ -7,11 +7,12 @@ class Gnuplot < Formula head 'cvs://:pserver:anonymous@gnuplot.cvs.sourceforge.net:/cvsroot/gnuplot:gnuplot', :using => :cvs - option 'pdf', 'Build with pdflib-lite support.' - option 'wx', 'Build with wxWidgets support.' - option 'nolua', 'Build without lua support.' - option 'nogd', 'Build without gd support.' - option 'with-x', 'Build with X support.' + option 'pdf', 'Build with pdflib-lite support' + option 'wx', 'Build with wxWidgets support' + option 'nolua', 'Build without lua support' + option 'nogd', 'Build without gd support' + option 'with-x', 'Build with X support' + option 'without-emacs', 'Do not build Emacs lisp files' if build.head? depends_on :automake @@ -41,7 +42,7 @@ class Gnuplot < Formula gd = Formula.factory 'gd' # Aquaterm disabled due to breakage. See: - # https://github.com/mxcl/homebrew/issues/14647 + # https://github.com/mxcl/homebrew/issues/14647 args = %W[ --disable-debug --disable-dependency-tracking @@ -50,9 +51,10 @@ class Gnuplot < Formula --without-aquaterm ] - args << '--disable-wxwidgets' unless build.include? 'wx' + args << "--disable-wxwidgets" unless build.include? 'wx' args << "--with-pdf=#{pdflib.prefix}" if build.include? 'pdf' - args << '--without-lua' if build.include? 'nolua' + args << "--without-lua" if build.include? 'nolua' + args << "--without-lisp-files" if build.include? 'without-emacs' if build.include? 'nogd' args << '--without-gd' |
