aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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