git: remove pre-Mavericks support
This commit is contained in:
parent
0667ee5336
commit
76c7f2a588
1 changed files with 7 additions and 9 deletions
|
@ -49,15 +49,13 @@ class Git < Formula
|
|||
|
||||
perl_version = Utils.popen_read("perl --version")[/v(\d+\.\d+)(?:\.\d+)?/, 1]
|
||||
|
||||
if MacOS.version >= :mavericks
|
||||
ENV["PERLLIB_EXTRA"] = %W[
|
||||
#{MacOS.active_developer_dir}
|
||||
/Library/Developer/CommandLineTools
|
||||
/Applications/Xcode.app/Contents/Developer
|
||||
].uniq.map do |p|
|
||||
"#{p}/Library/Perl/#{perl_version}/darwin-thread-multi-2level"
|
||||
end.join(":")
|
||||
end
|
||||
ENV["PERLLIB_EXTRA"] = %W[
|
||||
#{MacOS.active_developer_dir}
|
||||
/Library/Developer/CommandLineTools
|
||||
/Applications/Xcode.app/Contents/Developer
|
||||
].uniq.map do |p|
|
||||
"#{p}/Library/Perl/#{perl_version}/darwin-thread-multi-2level"
|
||||
end.join(":")
|
||||
|
||||
unless quiet_system ENV["PERL_PATH"], "-e", "use ExtUtils::MakeMaker"
|
||||
ENV["NO_PERL_MAKEMAKER"] = "1"
|
||||
|
|
Loading…
Reference in a new issue