aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sphinx.rb
diff options
context:
space:
mode:
authorClint Shryock2011-11-28 08:40:13 -0600
committerCharlie Sharpsteen2011-11-29 11:10:45 -0800
commit9edec922ea581f8430ff8db3f6ef9e4cf09e75d6 (patch)
tree75c247ba33956f5830de1fafb2cc1c83baf3cceb /Library/Formula/sphinx.rb
parent4b633d981d48abb603a9718a953916de22ba1c12 (diff)
downloadhomebrew-9edec922ea581f8430ff8db3f6ef9e4cf09e75d6.tar.bz2
Sphinx: Upgrade to 2.0.2-beta
The Sphinx search server is currently at verstion 2.0.2 **beta**, which is the recommened release according to their [downloads page][1] [1]: http://sphinxsearch.com/downloads/ Changes included: - Update MD5 for Sphinx package - Chnage install args to use `--with-mysql` if `which mysql` finds it, similar to how the `--with-pgsl` works` - Add MD5 for included Libstemmer formula Closes #8840. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula/sphinx.rb')
-rw-r--r--Library/Formula/sphinx.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/sphinx.rb b/Library/Formula/sphinx.rb
index 71c96943d..89d64c239 100644
--- a/Library/Formula/sphinx.rb
+++ b/Library/Formula/sphinx.rb
@@ -6,12 +6,13 @@ class Libstemmer < Formula
# constant, rapid updates to this formula.
head 'http://snowball.tartarus.org/dist/libstemmer_c.tgz'
homepage 'http://snowball.tartarus.org/'
+ md5 'facd65506711b8908648160014bcc309'
end
class Sphinx < Formula
- url 'http://sphinxsearch.com/downloads/sphinx-0.9.9.tar.gz'
+ url 'http://sphinxsearch.com/files/sphinx-2.0.2-beta.tar.gz'
homepage 'http://www.sphinxsearch.com'
- md5 '7b9b618cb9b378f949bb1b91ddcc4f54'
+ md5 'fafe0f1a71d0ded32404c067eba7d0b3'
head 'http://sphinxsearch.googlecode.com/svn/trunk/'
fails_with_llvm "ld: rel32 out of range in _GetPrivateProfileString from /usr/lib/libodbc.a(SQLGetPrivateProfileString.o)",
@@ -32,7 +33,7 @@ class Sphinx < Formula
# configure script won't auto-select PostgreSQL
args << "--with-pgsql" if `/usr/bin/which pg_config`.size > 0
- args << "--without-mysql" if `/usr/bin/which mysql`.size <= 0
+ args << "--with-mysql" if `/usr/bin/which mysql`.size > 0
system "./configure", *args
system "make install"