git: use opt_prefix for pcre

This commit is contained in:
Jack Nagel 2013-06-06 15:08:19 -05:00
parent 038b0cd955
commit d368ab6b8b

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'