diff options
| author | Leo Kim | 2011-12-18 04:29:16 +0900 |
|---|---|---|
| committer | Jack Nagel | 2011-12-19 11:37:58 -0600 |
| commit | d7e768f2c0edfbf7d0e94f21bce6a271edf4dcc4 (patch) | |
| tree | ae1998d6f818826fda20a1880fd3fa2f259e3de9 /Library/Formula | |
| parent | 6132f51877a30735c79ccde270eb5d037e13a08c (diff) | |
| download | homebrew-d7e768f2c0edfbf7d0e94f21bce6a271edf4dcc4.tar.bz2 | |
git: set PERL_PATH
The default git PERL_PATH (/usr/bin/perl) can cause build issues for
users with non-system Perl installations, e.g. perlbrew. Setting
PERL_PATH to the Perl in the path should be sufficient.
Closes #9152.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/git.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb index 1f659786a..feeabbfe3 100644 --- a/Library/Formula/git.rb +++ b/Library/Formula/git.rb @@ -30,6 +30,9 @@ class Git < Formula ENV['NO_DARWIN_PORTS']='1' ENV['V']='1' # build verbosely + # workaround for users of perlbrew + ENV['PERL_PATH'] = `/usr/bin/which perl`.chomp + # Clean XCode 4.x installs don't include Perl MakeMaker ENV['NO_PERL_MAKEMAKER']='1' if MacOS.lion? |
