sphinx - check for mysql client libs. Fixes Homebrew/homebrew#2262

This commit is contained in:
Adam Vandenberg 2010-10-21 19:46:39 -07:00
parent 48aeba346e
commit d0a0df6545

View file

@ -12,7 +12,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
config_args << "--without-mysql" if `/usr/bin/which mysql`.size <= 0
system "./configure", *config_args
system "make install"