gnuplot - allow building without lua support
parent
cecb7ff602
commit
71d00dc910
|
@ -11,10 +11,13 @@ class Gnuplot <Formula
|
|||
|
||||
def install
|
||||
ENV.x11
|
||||
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
||||
args = ["--disable-debug", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}",
|
||||
"--with-readline=#{prefix}",
|
||||
"--disable-wxwidgets"
|
||||
"--disable-wxwidgets"]
|
||||
args << "--without-lua" if ARGV.include? "--without-lua"
|
||||
|
||||
system "./configure", *args
|
||||
system "make install"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue