gnuplot - allow building without lua support

master
Adam Vandenberg 2010-06-15 21:16:40 -07:00
parent cecb7ff602
commit 71d00dc910
1 changed files with 7 additions and 4 deletions

View File

@ -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