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.