CLT is just CLT now; not "for Xcode".
References Homebrew/homebrew#17383.
This commit is contained in:
parent
be9f2d7dea
commit
621c44dbd2
@ -226,7 +226,7 @@ def __check_clt_up_to_date
|
||||
You should install the Command Line Tools: http://connect.apple.com
|
||||
EOS
|
||||
elsif MacOS::CLT.outdated? then <<-EOS.undent
|
||||
A newer Command Line Tools for Xcode release is available
|
||||
A newer Command Line Tools release is available
|
||||
You should install the latest version from: http://connect.apple.com
|
||||
EOS
|
||||
end
|
||||
@ -268,7 +268,7 @@ def check_cc
|
||||
if MacOS::Xcode.version >= "4.3" then <<-EOS.undent
|
||||
Experimental support for using Xcode without the "Command Line Tools".
|
||||
You have only installed Xcode. If stuff is not building, try installing the
|
||||
"Command Line Tools for Xcode" package provided by Apple.
|
||||
"Command Line Tools" package provided by Apple.
|
||||
EOS
|
||||
else
|
||||
'No compiler found in /usr/bin!'
|
||||
|
||||
@ -159,7 +159,7 @@ module MacOS::CLT extend self
|
||||
# This is true if the standard UNIX tools are present in the expected location. For
|
||||
# Mavericks and above this is /Library/Developer/CommandLineTools otherwise it is /usr.
|
||||
# For Xcode < 4.3, this is the standard location. Otherwise, it means that the user has
|
||||
# installed the "Command Line Tools for Xcode" package.
|
||||
# installed the "Command Line Tools" package.
|
||||
def installed?
|
||||
(MacOS.dev_tools_path == Pathname.new("#{MacOS::CLT::STANDALONE_PKG_PATH}/usr/bin") \
|
||||
and File.directory? "#{MacOS::CLT::STANDALONE_PKG_PATH}/usr/include") or
|
||||
|
||||
@ -86,7 +86,7 @@ class CLTDependency < Requirement
|
||||
satisfy(:build_env => false) { MacOS::CLT.installed? }
|
||||
|
||||
def message; <<-EOS.undent
|
||||
The Command Line Tools for Xcode 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,
|
||||
or it can be installed via Xcode's preferences.
|
||||
EOS
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user