We provide a pcre formula as OS X does not provide libpcre headers.
However, it does provide the library itself and so occasionally things
will use Homebrew's pcre headers and link against the system library.
This should be avoided to prevent incompatibilities, so explicitly tell
the build system where to look for the library where necessary.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Updates to upstream version 2.00.2. Now declares 'pcre' as a package
dependency. Patches Makefile.in such that brew's environment variables, namely
CPPFLAGS and CFLAGS, are passed to autotools.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.