Building Haiku on Mac OS X 10.6 or 10.7 with Homebrew

The recommended method for building Haiku on Mac OS X is to use MacPorts, but, with a little bit of work it is possible to build Haiku using homebrew on Mac OS X 10.6 or 10.7 instead. You’ll need to install Xcode or at least the Command Line Tools before installing homebrew.

If you don’t want to install all of XCode you can install just gcc from the packages available here: