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