git: use opt_prefix for pcre
This commit is contained in:
parent
038b0cd955
commit
d368ab6b8b
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue