From 5141f1e9e2d623a6fe02653076884b49ec2ef58d Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 25 Jun 2013 21:19:59 -0500 Subject: gearman: use optional dep for mysql --- Library/Formula/gearman.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library') 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" -- cgit v1.2.3