aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-06-06 15:08:19 -0500
committerJack Nagel2013-06-06 15:08:19 -0500
commit3bdabf66a1f40243b6310f56a62cabb69dc82a12 (patch)
treeedaf8d0904725d4a45e93174b4757ab6d4514d6e /Library
parentb169cacc327a5b6ac9885bc5c3b0fcb6a9551529 (diff)
downloadhomebrew-3bdabf66a1f40243b6310f56a62cabb69dc82a12.tar.bz2
git: use opt_prefix for pcre
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'