diff options
| author | Mike Mayo | 2011-12-01 15:10:38 -0600 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-12-01 13:16:19 -0800 |
| commit | f39dfb1014bc614ca350ce0b75416c4b2d2d509d (patch) | |
| tree | 0a986e1d503118550cdcfa3b7682eb2151e4c689 /Library/Formula/sphinx.rb | |
| parent | 5b1968fad969a288dd31ee2340185506d975f6a4 (diff) | |
| download | homebrew-f39dfb1014bc614ca350ce0b75416c4b2d2d509d.tar.bz2 | |
Sphinx: Use --without-mysql unless MySQL installed
When installing the latest sphinx script, it defaults to mysql support unless
--without-mysql is passed.
Closes #8921.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula/sphinx.rb')
| -rw-r--r-- | Library/Formula/sphinx.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/sphinx.rb b/Library/Formula/sphinx.rb index eee2cf8f0..79adc5b56 100644 --- a/Library/Formula/sphinx.rb +++ b/Library/Formula/sphinx.rb @@ -32,7 +32,7 @@ class Sphinx < Formula # configure script won't auto-select PostgreSQL args << "--with-pgsql" if `/usr/bin/which pg_config`.size > 0 - args << "--with-mysql" if `/usr/bin/which mysql`.size > 0 + args << "--without-mysql" unless `/usr/bin/which mysql`.size > 0 system "./configure", *args system "make install" |
