When installing the latest sphinx script, it defaults to mysql support unless
--without-mysql is passed.
ClosesHomebrew/homebrew#8921.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
No md5 should be given due to the rapid evolution of the dependancy.
ClosesHomebrew/homebrew#8877.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
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
ClosesHomebrew/homebrew#8840.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
The upstream libstemmer project constantly changes the contents of the
tarball, so doing checksum verification isn't feasible unless we want to
be updating the formula constantly. Thus, use a head-only sub-formula
without a checksum.
Rather than make it an option, I've just set it to always build with
libstemmer per Homebrew/homebrew#5730. We can always add the option later if it's
necessary.
Includes an unrelated fix to put the var directory in
HOMEBREW_PREFIX/var.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Revert because of this version is broken on OS X
This reverts commit 502e3312d08ddb12070c675d28cb0a23c3bf3c4c.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Replaced ENV.gcc_4_2 + comments with calls to "fails_with_llvm",
to specifically message to the user when a formula is known or suspected
to not build with LLVM. If the user specifies "--use-llvm", the message
will be displayed, but compilation will be tried anyway.
Since using LLVM is now an advanced/hidden feature instead of the
default on 10.6, we'll let the user try anyway (and submit patches
if things are now working.)
Sphinx can use MySQL or PostgreSQL, and can use the mysql-connector libraries
instead of a full on MySQL install.
Since we don't know what datasource is intended, replace the hard dependency
with explanations in the caveats.
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
How do you implement full-text search for that 10+ million row table, keep up
with the load, and stay relevant? Sphinx is good at those kinds of riddles.
Signed-off-by: Max Howell <max@methylblue.com>
I added the mysql dependency.