diff options
| author | Jack Nagel | 2012-04-03 13:02:18 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-04-03 13:02:18 -0500 |
| commit | 1c1ba8ec5eab86411b16b7aa4e8bf8e978c85693 (patch) | |
| tree | b40d9fc522c257c7adba21effb7e9deb252cc3e6 /Library/Formula | |
| parent | 3e2f7bc7f137bc7a89de927d43eb12fdd84bebec (diff) | |
| download | homebrew-1c1ba8ec5eab86411b16b7aa4e8bf8e978c85693.tar.bz2 | |
privoxy: clarify autoreconf, use our libpcre
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/privoxy.rb | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/Library/Formula/privoxy.rb b/Library/Formula/privoxy.rb index 217b96fcd..25690b197 100644 --- a/Library/Formula/privoxy.rb +++ b/Library/Formula/privoxy.rb @@ -6,15 +6,21 @@ class Privoxy < Formula sha1 'a82287cbf48375ef449d021473a366baeca49250' if MacOS.xcode_version >= "4.3" - # remove the autoreconf if possible, no comment provided about why it is there - # so we have no basis to make a decision at this point. depends_on "automake" => :build depends_on "libtool" => :build end + depends_on 'pcre' + def install - system "autoreconf -i" - system "./configure", "--disable-debug", "--disable-dependency-tracking", + # Find Homebrew's libpcre + ENV.append 'LDFLAGS', "-L#{HOMEBREW_PREFIX}/lib" + + # No configure script is shipped with the source + system "autoreconf", "-i" + + system "./configure", "--disable-debug", + "--disable-dependency-tracking", "--prefix=#{prefix}", "--sysconfdir=#{etc}/privoxy" system "make" |
