aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorEugene San (eugenesan)2014-08-23 16:38:38 +0300
committerJack Nagel2014-08-23 10:22:16 -0500
commit79dc162332b492801845d7a53191fb75710243de (patch)
tree7802aa2da811fc78dd263441da20aff9e1efaa41 /Library/Formula
parent025fe89e41e7a36ad68e405d5a1c5faa7fee70da (diff)
downloadhomebrew-79dc162332b492801845d7a53191fb75710243de.tar.bz2
sysbench: fix build without mysql in all cases
Closes #31824. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/sysbench.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/Library/Formula/sysbench.rb b/Library/Formula/sysbench.rb
index 5b899158a..150bef323 100644
--- a/Library/Formula/sysbench.rb
+++ b/Library/Formula/sysbench.rb
@@ -16,7 +16,11 @@ class Sysbench < Formula
system "./autogen.sh"
args = ["--prefix=#{prefix}"]
- args << "--with-mysql" if build.with? "mysql"
+ if build.with? "mysql"
+ args << "--with-mysql"
+ else
+ args << "--without-mysql"
+ end
args << "--with-psql" if build.with? "postgresql"
system "./configure", *args