* Upgrade xapian to version 1.2.10
* Fix php bindings - args concat issue
* Fix ruby bindings - attempts to install to /Library/Ruby
* Add ruby caveat
* Remove `--disable-debug` from the subformula. It's unrecognized.
Fix the php bindings by adjusting the `args <<` statement so that
the array is created with correctly separated strings. Otherwise
there is a configure error brewing the subformula.
Fix the ruby bindings from installing into /Library by setting
two environment variables which `configure` queries so that they
now install to `lib+'ruby/site_ruby'`. The only other formula
that uses a similar Ruby directory is `subversion`, and it installs
to `lib+'ruby/1.8'` when built against the system Ruby. So these
two formulas don't clash, and both compile without error.
Tested on Lion with llvm-gcc and clang from XCode-4.3.2, all opts.
ClosesHomebrew/homebrew#12165.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Way back in the day, Homebrew defaulted to LLVM/-O3. A lot of stuff
failed to compile, and a lot of stuff just took forever with -O4.
We don't default this way anymore, and in fact use -Os per Apple
guidelines.
So remove these old "fixes" since they are no longer needed.
Running brew install xapian --binding reported the following error:
Error: SHA1 mismatch
Expected: d42d418c1873c607427c7cfb293477aa35428e4c
Got: 79e9f0b01f1af3440d10d00469dbe248784ffa1c
Archive:
/Users/gordy/Library/Caches/Homebrew/xapian-bindings-1.2.7.tar.gz
Verified correct sha1 by comparing with download from
http://xapian.org/download and updated formula accordingly.
ClosesHomebrew/homebrew#8558.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Also, changed the way the Python bindings are installed.
The latter change is needed because `/Library/Python` is owned
by root in Lion and would prevent the installation of the compiled
Python module. Instead this is following the technique used in
other formulas -- installing to lib/python and having to add that
directory to `PYTHONPATH`.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Xapian is a highly adaptable toolkit which allows developers to easily
add advanced indexing and search facilities to their own applications.
It supports the Probabilistic Information Retrieval model and also
supports a rich set of boolean query operators.
This includes the xapian bindings for PHP, Ruby, Java and Python.