From f39dfb1014bc614ca350ce0b75416c4b2d2d509d Mon Sep 17 00:00:00 2001 From: Mike Mayo Date: Thu, 1 Dec 2011 15:10:38 -0600 Subject: 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 --- Library/Formula/sphinx.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') 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" -- cgit v1.2.3