mxcl/homebrew — pull request #11859 by 2bits (2012-04-25 01:15:25+00:00)
Title: weechat: Fix args and python bindings

* Craft the `args` using std_cmake_parameters.split.
* Simplify how the options adjust the args using build defaults.
* Support user installed python with the usual vtk.rb method for
finding the python libs and headers.
* Add the standard PYTHONPATH caveat and which_python function.

These changes fix how the previous commit malformed the args,
allowing the args to have the desired effect, where previously
they were not put into the array correctly, causing -Wno-dev
for example to be be ignored. They also fix the python bindings
which weren't finding the right libs and headers.

Homebrew python built as a framework still has a bug that will
break weechat, but an issue is open to fix that, #11855

This would fix #11835