otx is hardcoded to use the MacOSX10.6 SDK which is no longer available in
Mountain Lion. By replacing this with MacOSX#{MacOS.version} the package can
be successfully built even on 10.8.
ClosesHomebrew/homebrew#15879.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Anything that calls `xcodebuild` needs a full install of XCode.app. Two
formulae ommitted from this patch:
- `fuse4x_kext`: Everything that depends on the kernel extension can be
compiled by the CLT. Therefore, this formula is bottled and XCode is only
needed to produce the bottles.
- `graphviz`: XCode is only used to create GraphViz.app which is not used by
any of the things which depend on `graphviz`. Creating the app should be
made into an option.
Add SYMROOT for xcodebuild in case the Xcode defaults
PBXApplicationwideBuildSettings specify a custom build location
Signed-off-by: Adam Vandenberg <flangy@gmail.com>