aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorKunal Shah2010-04-14 15:41:33 -0400
committerAdam Vandenberg2010-04-15 08:52:33 -0700
commitbdff8639a68a19e2e6c67efb27ec277dbaf0b349 (patch)
treef75448cb6a2663790f668455dfb1903db66fd08c /Library/Formula
parent097f0fe756eecd531e6736139c25a52e05c57c3a (diff)
downloadhomebrew-bdff8639a68a19e2e6c67efb27ec277dbaf0b349.tar.bz2
Fix Sphinx formula to pass --without-mysql if which fails to find mysqld
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/sphinx.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/sphinx.rb b/Library/Formula/sphinx.rb
index b54431ea2..d1609aafc 100644
--- a/Library/Formula/sphinx.rb
+++ b/Library/Formula/sphinx.rb
@@ -13,6 +13,7 @@ class Sphinx <Formula
config_args = ["--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"]
# configure script won't auto-select PostgreSQL
config_args << "--with-pgsql" if `/usr/bin/which pg_config`.size > 0
+ config_args << "--without-mysql" if `/usr/bin/which mysqld`.size <= 0
system "./configure", *config_args
system "make install"