aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gearman.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/gearman.rb')
-rw-r--r--Library/Formula/gearman.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/gearman.rb b/Library/Formula/gearman.rb
index 81f1987dc..5d53cab2c 100644
--- a/Library/Formula/gearman.rb
+++ b/Library/Formula/gearman.rb
@@ -17,7 +17,7 @@ class Gearman < Formula
def install
args = ["--prefix=#{prefix}"]
- args << "--without-mysql" unless build.with? 'mysql'
+ args << "--without-mysql" if build.without? 'mysql'
if build.with? 'postgresql'
pg_config = "#{Formula["postgresql"].opt_bin}/pg_config"
args << "--with-postgresql=#{pg_config}"