git: use opt_prefix for pcre

master
Jack Nagel 2013-06-06 15:08:19 -05:00
parent 038b0cd955
commit d368ab6b8b
1 changed files with 1 additions and 1 deletions

View File

@ -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'