git: remove pre-Mavericks support

This commit is contained in:
FX Coudert 2019-01-28 20:12:59 +01:00
parent 0667ee5336
commit 76c7f2a588

View file

@ -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"