aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat/dependency_collector.rb
diff options
context:
space:
mode:
authorMike McQuaid2018-01-09 19:52:34 +0000
committerMike McQuaid2018-01-09 19:52:34 +0000
commit2cbce1fbf0a7a361f2be8b3545998f1a36ab3588 (patch)
tree709d8f4543cd2b94da42fb1ca37c7ab3f6a3d57e /Library/Homebrew/compat/dependency_collector.rb
parent9ed1ed3c0577a20b0144cb83501838b2b8c681ae (diff)
downloadbrew-2cbce1fbf0a7a361f2be8b3545998f1a36ab3588.tar.bz2
Add more deprecations, disable some existing ones.
Add more `odeprecated` calls to places that have been deprecated for a while in the wild and move some of the existing `odeprecated` calls to be `odisabled` to allow deleting the compatibility code.
Diffstat (limited to 'Library/Homebrew/compat/dependency_collector.rb')
-rw-r--r--Library/Homebrew/compat/dependency_collector.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/Library/Homebrew/compat/dependency_collector.rb b/Library/Homebrew/compat/dependency_collector.rb
index 82511bcc7..652cf370b 100644
--- a/Library/Homebrew/compat/dependency_collector.rb
+++ b/Library/Homebrew/compat/dependency_collector.rb
@@ -10,6 +10,7 @@ class DependencyCollector
def parse_string_spec(spec, tags)
if (tag = tags.first) && LANGUAGE_MODULES.include?(tag)
+ odeprecated "'depends_on :#{tag}'"
LanguageModuleRequirement.new(tag, spec, tags[1])
else
_parse_string_spec(spec, tags)
@@ -23,7 +24,7 @@ class DependencyCollector
when :clt
odeprecated "'depends_on :clt'"
when :tex
- # odeprecated "'depends_on :tex'"
+ odeprecated "'depends_on :tex'"
TeXRequirement.new(tags)
when :autoconf, :automake, :bsdmake, :libtool
output_deprecation(spec, tags)
@@ -39,7 +40,7 @@ class DependencyCollector
output_deprecation("libtool", tags)
Dependency.new("libtool", tags)
when :apr
- # output_deprecation(spec, tags, "apr-util")
+ output_deprecation(spec, tags, "apr-util")
Dependency.new("apr-util", tags)
when :fortran
# output_deprecation(spec, tags, "gcc")