aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/git.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb
index 18e909d04..3e82c81be 100644
--- a/Library/Formula/git.rb
+++ b/Library/Formula/git.rb
@@ -41,7 +41,7 @@ class Git < Formula
if build.with? 'pcre'
ENV['USE_LIBPCRE'] = '1'
- ENV['LIBPCREDIR'] = HOMEBREW_PREFIX
+ ENV['LIBPCREDIR'] = Formula.factory('pcre').opt_prefix
end
ENV['NO_GETTEXT'] = '1' unless build.with? 'gettext'