dosbox-x: remove unneeded build.with (#33446)

This commit is contained in:
commitay 2018-10-30 09:39:20 +10:00 committed by GitHub
parent 9285c8dcd6
commit 63fc1e4cc1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,15 +39,11 @@ class DosboxX < Formula
"setCD(clientsocket > 0)", "setCD(clientsocket != 0)"
end
args = %W[
--prefix=#{prefix}
--disable-dependency-tracking
--disable-sdltest
--enable-core-inline
]
args << "--enable-debug" if build.with? "debugger"
system "./configure", "--prefix=#{prefix}",
"--disable-dependency-tracking",
"--disable-sdltest",
"--enable-core-inline"
system "./configure", *args
chmod 0755, "install-sh"
system "make", "install"
end