diff options
| author | Jack Nagel | 2013-06-06 15:08:20 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-06-06 15:08:20 -0500 |
| commit | 6102e21c0f9a0ddc3a01cd6009c70ef593478520 (patch) | |
| tree | 0206689c3250afaeabcd80c438addf3ab339afb3 /Library/Formula | |
| parent | 3bdabf66a1f40243b6310f56a62cabb69dc82a12 (diff) | |
| download | homebrew-6102e21c0f9a0ddc3a01cd6009c70ef593478520.tar.bz2 | |
git: detect presence of perl's ExtUtils::MakeMaker
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/git.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb index 3e82c81be..2ff173249 100644 --- a/Library/Formula/git.rb +++ b/Library/Formula/git.rb @@ -30,12 +30,12 @@ class Git < Formula ENV['NO_DARWIN_PORTS'] = '1' ENV['V'] = '1' # build verbosely ENV['NO_R_TO_GCC_LINKER'] = '1' # pass arguments to LD correctly - - ENV['PERL_PATH'] = which 'perl' # workaround for users of perlbrew ENV['PYTHON_PATH'] = python.binary if python + ENV['PERL_PATH'] = which 'perl' - # Clean XCode 4.x installs don't include Perl MakeMaker - ENV['NO_PERL_MAKEMAKER'] = '1' if MacOS.version >= :lion + unless quiet_system ENV['PERL_PATH'], '-e', 'use ExtUtils::MakeMaker' + ENV['NO_PERL_MAKEMAKER'] = '1' + end ENV['BLK_SHA1'] = '1' if build.with? 'blk-sha1' |
