Update URL for CLT download

http://connect.apple.com is still down, but
https://developer.apple.com/downloads has all of the Apple developer
downloads available.

Fixes Homebrew/homebrew#21812.
This commit is contained in:
Misty De Meo 2013-08-10 22:05:18 -07:00
parent 14dd61fc87
commit 49cd13406b
3 changed files with 7 additions and 4 deletions

View File

@ -37,7 +37,7 @@ def blacklisted? name
"lzma is now part of the xz formula." "lzma is now part of the xz formula."
when 'xcode' then <<-EOS.undent when 'xcode' then <<-EOS.undent
Xcode can be installed via the App Store (on Lion or newer), or from: Xcode can be installed via the App Store (on Lion or newer), or from:
http://connect.apple.com/ https://developer.apple.com/downloads/
EOS EOS
when 'gtest', 'googletest', 'google-test' then <<-EOS.undent when 'gtest', 'googletest', 'google-test' then <<-EOS.undent
Installing gtest system-wide is not recommended; it should be vendored Installing gtest system-wide is not recommended; it should be vendored

View File

@ -223,11 +223,13 @@ end
def __check_clt_up_to_date def __check_clt_up_to_date
if not MacOS::CLT.installed? then <<-EOS.undent if not MacOS::CLT.installed? then <<-EOS.undent
No developer tools installed No developer tools installed
You should install the Command Line Tools: http://connect.apple.com You should install the Command Line Tools:
https://developer.apple.com/downloads/
EOS EOS
elsif MacOS::CLT.outdated? then <<-EOS.undent elsif MacOS::CLT.outdated? then <<-EOS.undent
A newer Command Line Tools release is available A newer Command Line Tools release is available
You should install the latest version from: http://connect.apple.com You should install the latest version from:
http://connect.apple.com
EOS EOS
end end
end end

View File

@ -60,7 +60,8 @@ class CLTDependency < Requirement
def message; <<-EOS.undent def message; <<-EOS.undent
The Command Line Tools are required to compile this software. The Command Line Tools are required to compile this software.
The standalone package can be obtained from http://connect.apple.com, The standalone package can be obtained from
https://developer.apple.com/downloads/,
or it can be installed via Xcode's preferences. or it can be installed via Xcode's preferences.
EOS EOS
end end