aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pcre++.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2013-08-07 09:16:17 -0700
committerAdam Vandenberg2013-08-07 09:16:17 -0700
commit4367f3704f4b0b33a51e39dcfaf7b71384cb75a1 (patch)
tree8c60a45391ba55c31550985a621a8c2d7f85a79f /Library/Formula/pcre++.rb
parentf7df97dfec871a07c0c0555f8370deaed8119dc9 (diff)
downloadhomebrew-4367f3704f4b0b33a51e39dcfaf7b71384cb75a1.tar.bz2
pcre++: use opt prefix
Diffstat (limited to 'Library/Formula/pcre++.rb')
-rw-r--r--Library/Formula/pcre++.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/pcre++.rb b/Library/Formula/pcre++.rb
index 976ecefef..5ecb1c15c 100644
--- a/Library/Formula/pcre++.rb
+++ b/Library/Formula/pcre++.rb
@@ -8,11 +8,12 @@ class Pcrexx < Formula
depends_on 'pcre'
def install
+ pcre = Formula.factory('pcre').opt_prefix
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}",
- "--with-pcre-dir-lib=#{HOMEBREW_PREFIX}"
+ "--with-pcre-dir-lib=#{pcre}"
system "make install"
end
end