diff options
| author | Adam Vandenberg | 2010-06-15 21:16:40 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-15 21:16:40 -0700 |
| commit | 51bf3c96263b766fe4539b9108463a37799b30d2 (patch) | |
| tree | 97b6be710ecaf63cc944e7ebd560aab14ab6c1ea /Library | |
| parent | af412ca4dc5f403ba5bddc0a07264b0d0872f30d (diff) | |
| download | homebrew-51bf3c96263b766fe4539b9108463a37799b30d2.tar.bz2 | |
gnuplot - allow building without lua support
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gnuplot.rb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Library/Formula/gnuplot.rb b/Library/Formula/gnuplot.rb index 90694c08e..1b34f00d5 100644 --- a/Library/Formula/gnuplot.rb +++ b/Library/Formula/gnuplot.rb @@ -11,10 +11,13 @@ class Gnuplot <Formula def install ENV.x11 - system "./configure", "--disable-debug", "--disable-dependency-tracking", - "--prefix=#{prefix}", - "--with-readline=#{prefix}", - "--disable-wxwidgets" + args = ["--disable-debug", "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--with-readline=#{prefix}", + "--disable-wxwidgets"] + args << "--without-lua" if ARGV.include? "--without-lua" + + system "./configure", *args system "make install" end end |
