Use the standard `ENV.m32` to force a 32-bit build now that Homebrew's
environment tools can work with Objective C flags.
Only specify `-arch` flags when building Python modules---this prevents Python
from trying to build for more architectures than it should.
FixesHomebrew/homebrew#10348.
- 64bit and cocoa is only possible in the 2.9 series.
- Using the bundle wxPython+wxWidgets for 2.9.x.
- Better caveats telling about all issues based on the actual options to guide the users with options/problems.
- Building gizmos, sec and ogl only for 2.8 (because 2.9 does not have these subduers)
- Python bindings for 2.8 are now built with MacOS 10.6 sdk on Lion explicitly for i386. This fixes the error of "Cursor" not found during build time in current wxmac formula.
- Added head for wxPython (may be of use later on)
- Set right home pages.
- Removed --system-python. Not needed, since the policy is to take whichever python is upfront in the path.
- Fixed bug that "gizmos", "stc" and "ogl" were not built because "$c" is not a variable expansion expression in ruby. "#{c}" was meant.
ClosesHomebrew/homebrew#8639.
ClosesHomebrew/homebrew#10149.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>