Building GraphViz.app requires a full install of XCode.app so building it
by default breaks the installation for users who only install the Command Line
Tools.
Fixes#14431.
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.
Clarify the error message arising from XCodeDependency so that users know
XCode.app is needed and that just installing the CLT does not count as
"installing XCode".
This prevents multiple calls to flag-modifying ENV methods from
resulting in large amounts of consecutive spaces.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Specifying dependencies with a URL works, even if by accident, but
factory is called repeatedly on this URL and this results in multiple
downloads of the same file.
Fix this by checking const_defined? here too, and DRY up the code a bit.
Fixes#14285.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
- When using CPATH, we only need -isysroot and not the other -I spam.
- LDFLAGS use -isysroot instead of -L
Turns out that the linker also understands the
-isysroot flag which behaves more natural (in the
sense: "like the internal defaults `/usr/lib` etc.)
than adding `-L$(SDKROOT).
Especially for duplicates, the linker first searches
through all `-L` dirs and then looks at the sysroot
or internal defaults. This is what we want.
- Pkg-config needs CC with CFLAGS passed to configure.
Closes#14351.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
* changes checksum to sha1
* comments on CFLAGS requirements for 10.8
* add download url for HEAD
* add autotools as dependency for HEAD
* runs autogen for HEAD build
* changes references to MACOS_VERSION to MacOS.version
Closes#14323.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>