diff options
| author | Jack Nagel | 2012-02-24 16:51:33 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-02-24 16:51:33 -0600 |
| commit | a65e482b8b4bb8177802ddbdf990184672791256 (patch) | |
| tree | 8a1439927aab8b6ee268f6a82e62f4da5a036dbc /Library/Formula/pound.rb | |
| parent | f47581e372643144156fddf5219f3c5fd0a9c207 (diff) | |
| download | homebrew-a65e482b8b4bb8177802ddbdf990184672791256.tar.bz2 | |
Use Homebrew's pcre where appropriate
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>
Diffstat (limited to 'Library/Formula/pound.rb')
| -rw-r--r-- | Library/Formula/pound.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/pound.rb b/Library/Formula/pound.rb index e3dfec635..3e800c2cd 100644 --- a/Library/Formula/pound.rb +++ b/Library/Formula/pound.rb @@ -8,6 +8,9 @@ class Pound < Formula depends_on 'pcre' def install + # find Homebrew's libpcre + ENV.append 'LDFLAGS', "-L#{HOMEBREW_PREFIX}/lib" + system "./configure", "--prefix=#{prefix}" system "make" # Manual install to get around group issues |
