aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-06-25 21:19:59 -0500
committerJack Nagel2013-06-25 21:19:59 -0500
commit5141f1e9e2d623a6fe02653076884b49ec2ef58d (patch)
tree9a785c8344210ef643188521b78b93348ec57a45 /Library
parent3dbc905676a53acc3a5ad88af89cf4ffbc502a33 (diff)
downloadhomebrew-5141f1e9e2d623a6fe02653076884b49ec2ef58d.tar.bz2
gearman: use optional dep for mysql
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gearman.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/gearman.rb b/Library/Formula/gearman.rb
index 741627ddb..94c58a76e 100644
--- a/Library/Formula/gearman.rb
+++ b/Library/Formula/gearman.rb
@@ -11,11 +11,11 @@ class Gearman < Formula
depends_on 'boost'
depends_on 'libevent'
depends_on 'ossp-uuid'
- depends_on :mysql if build.include? 'with-mysql'
+ depends_on :mysql => :optional
def install
args = ["--prefix=#{prefix}"]
- args << "--with-mysql" if build.include? 'with-mysql'
+ args << "--with-mysql" if build.with? 'mysql'
system "./configure", *args
system "make install"