aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2012-04-14 09:40:56 -0700
committerAdam Vandenberg2012-04-14 09:40:56 -0700
commit1262d0f629a26bebcef519b49f4c9ac8cad0ef62 (patch)
tree72bbd19b044a6a63b724aef4abded6d9aed9835e /Library/Formula
parentb0598d3e09dacb49a80d947b2f1a8b567e530ab3 (diff)
downloadhomebrew-1262d0f629a26bebcef519b49f4c9ac8cad0ef62.tar.bz2
Sphix: check for mysql_config
Check for mysql_config instead of mysql so that mysql-connector-c will be picked up too.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/sphinx.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/sphinx.rb b/Library/Formula/sphinx.rb
index 56e6556f2..497ab7b4f 100644
--- a/Library/Formula/sphinx.rb
+++ b/Library/Formula/sphinx.rb
@@ -46,7 +46,7 @@ class Sphinx < Formula
# configure script won't auto-select PostgreSQL
args << "--with-pgsql" if which 'pg_config'
- args << "--without-mysql" unless which 'mysql'
+ args << "--without-mysql" unless which 'mysql_config'
system "./configure", *args
system "make install"