mxcl/homebrew — pull request #12165 by 2bits (2012-05-09 13:38:36+00:00)
Title: xapian 1.2.9 and fix ruby+php bindings

* Upgrade xapian to version 1.2.9
* 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 that configure queries so that they now
install to the `HOMEBREW_PREFIX+'lib/ruby/site_ruby' according to
how `ruby.rb` is desgined, creating that directory with `.mkpath`
if necessary so it persists.

Tested on Lion with llvm-gcc and clang from XCode-4.3.2, all opts.