Added libtool as a dependency for libgphoto2.
When building libgphoto2's configure script reported that it could not
link against libltdl which is included in libtool.
ClosesHomebrew/homebrew#14450.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Ctail and Serf suffer from the ML bug where `apr-1-config --cpp`
returns a non-existent path. Serf is fixed. Add the same changes
to Ctail where `CPP` and `APR_LIBTOOL` get sane values, where
there are new deps on `libtool` and `automake`, and where
XCode-only installs get help finding the apr includes. Also
change from manual compile commands into using their Makefile
because it works correctly and was doing the same thing basically.
By using the `Makefile` we also get all the `apr-1-config --libs`
brought in which may be different for SL vs L vs ML.
cf. Homebrew/homebrew#13891FixesHomebrew/homebrew#14313ClosesHomebrew/homebrew#14451.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
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.
FixesHomebrew/homebrew#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.
- 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.
ClosesHomebrew/homebrew#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
ClosesHomebrew/homebrew#14323.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>