diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 45502d865..2d61a4c7d 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -588,6 +588,10 @@ class FormulaAuditor problem "\"#{$1}\" should be \"\#{#{$2}}\"" end + if line =~ %r[depends_on :(automake|autoconf|libtool)] + problem ":#{$1} is deprecated. Usage should be \"#{$1}\"" + end + # Commented-out depends_on if line =~ /#\s*depends_on\s+(.+)\s*$/ problem "Commented-out dep #{$1}" |
