ngspice: remove options

This commit is contained in:
FX Coudert 2018-09-26 16:50:50 +02:00
parent 5c8dee3f2c
commit 97c2dd2b4f

View file

@ -19,8 +19,6 @@ class Ngspice < Formula
depends_on "libtool" => :build
end
option "without-xspice", "Build without x-spice extensions"
deprecated_option "with-x" => "with-x11"
depends_on :x11 => :optional
@ -32,13 +30,13 @@ class Ngspice < Formula
--disable-dependency-tracking
--prefix=#{prefix}
--with-editline=yes
--enable-xspice
]
if build.with? "x11"
args << "--with-x"
else
args << "--without-x"
end
args << "--enable-xspice" if build.with? "xspice"
system "./configure", *args
system "make", "install"