There is no --without-bench configure option

Which is probably why it was being ignored.
This commit is contained in:
Tom von Schwerdtner 2009-09-29 18:00:27 -04:00 committed by Max Howell
parent b8f509f85a
commit f91d0472d9

View file

@ -24,7 +24,6 @@ class Mysql <Formula
ENV['CXXFLAGS'] += " -fno-omit-frame-pointer -felide-constructors" ENV['CXXFLAGS'] += " -fno-omit-frame-pointer -felide-constructors"
configure_args = [ configure_args = [
"--without-bench",
"--without-docs", "--without-docs",
"--without-debug", "--without-debug",
"--disable-dependency-tracking", "--disable-dependency-tracking",
@ -44,7 +43,6 @@ class Mysql <Formula
system "./configure", *configure_args system "./configure", *configure_args
system "make install" system "make install"
# Why does sql-bench still get built w/ above options?
(prefix+'sql-bench').rmtree unless ARGV.include? '--with-bench' (prefix+'sql-bench').rmtree unless ARGV.include? '--with-bench'
# save 66MB! # save 66MB!