apr-util will add a linkage to sqlite, even though serf doesn't use it
(from what I can tell). But when serf is linked with subversion, they
need to reference the same sqlite or bad things happen.
ClosesHomebrew/homebrew#17172.
serf requires you to explicitly tell it where to find the supertool because otherwise it has a hardcoded /usr/bin/apr-1-config (:P), ctail however is sensible and searches the PATH so now it's as though we do nothing special in that formula. Nice.
serf-1.1.1 queries `apr-1-config --cpp` which return a non-existent
path on Mountain Lion. This causes a build error where `configure`
can't find a working `CPP`. Add an ENV var to use `#{ENV.cc} -E`
serf then tries to use `/usr/share/apr-1/build-1/libtool` which
also has that non-existent path buried inside it. Add an ENV var
to specify using HB `glibtool`.
Tested on ML using clang and llvm from XCode-4.4 using the native
and universal options.
FixesHomebrew/homebrew#13586ClosesHomebrew/homebrew#13891.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
http://code.google.com/p/serf/ is a C-based HTTP client library
It multiplexes connections, running the read/write communication
asynchronously. Memory copies and transformations are kept to a
minimum to provide high performance operation.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>