aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-05-19 10:37:45 -0500
committerJack Nagel2014-05-19 10:37:45 -0500
commit10bd849bd3ba35b04f67b904d6bc629da1afe9a0 (patch)
treed597c14e3b70e0115d86f5f456c29dfbf2ce95ec /Library/Homebrew
parentf6fda5651bb08a60cd943c14aa08fadaebdd9a3f (diff)
downloadbrew-10bd849bd3ba35b04f67b904d6bc629da1afe9a0.tar.bz2
Remove CLTDependency
Closes Homebrew/homebrew#29379.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/dependency_collector.rb2
-rw-r--r--Library/Homebrew/requirements.rb24
2 files changed, 1 insertions, 25 deletions
diff --git a/Library/Homebrew/dependency_collector.rb b/Library/Homebrew/dependency_collector.rb
index c27ae0b8e..c25989db3 100644
--- a/Library/Homebrew/dependency_collector.rb
+++ b/Library/Homebrew/dependency_collector.rb
@@ -113,7 +113,6 @@ class DependencyCollector
when :fortran then FortranDependency.new(tags)
when :mpi then MPIDependency.new(*tags)
when :tex then TeXDependency.new(tags)
- when :clt then CLTDependency.new(tags)
when :arch then ArchRequirement.new(tags)
when :hg then MercurialDependency.new(tags)
# python2 is deprecated
@@ -122,6 +121,7 @@ class DependencyCollector
# Tiger's ld is too old to properly link some software
when :ld64 then LD64Dependency.new if MacOS.version < :leopard
when :ant then ant_dep(spec, tags)
+ when :clt # deprecated
else
raise ArgumentError, "Unsupported special dependency #{spec.inspect}"
end
diff --git a/Library/Homebrew/requirements.rb b/Library/Homebrew/requirements.rb
index e83a46749..9e1fbfda0 100644
--- a/Library/Homebrew/requirements.rb
+++ b/Library/Homebrew/requirements.rb
@@ -67,30 +67,6 @@ class TeXDependency < Requirement
end
end
-class CLTDependency < Requirement
- fatal true
- build true
-
- satisfy(:build_env => false) { MacOS::CLT.installed? }
-
- def message
- message = <<-EOS.undent
- The Command Line Tools are required to compile this software.
- EOS
- if MacOS.version >= :mavericks
- message += <<-EOS.undent
- Run `xcode-select --install` to install them.
- EOS
- else
- message += <<-EOS.undent
- The standalone package can be obtained from
- https://developer.apple.com/downloads/,
- or it can be installed via Xcode's preferences.
- EOS
- end
- end
-end
-
class ArchRequirement < Requirement
fatal true