aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2013-11-04 12:00:06 -0600
committerJack Nagel2013-11-04 12:10:26 -0600
commit14a1fa8ab91933d82ca05ca7fba998ddc01f7895 (patch)
tree48be3c2c05e9869d77de0252f3557ce76af27ff9 /Library/Homebrew/cmd
parentd7f5d6cdc13bb6fff8e42b9c13512f683be22d0c (diff)
downloadhomebrew-14a1fa8ab91933d82ca05ca7fba998ddc01f7895.tar.bz2
Remove special cases in build-time dep audit
Closes #23931.
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/audit.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index f05fe8b07..10b37e57a 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -151,11 +151,7 @@ class FormulaAuditor
case dep.name
when *BUILD_TIME_DEPS
- next if dep.build?
- next if dep.name == 'autoconf' && f.name =~ /automake/
- next if dep.name == 'libtool' && %w{imagemagick libgphoto2 libp11 libextractor}.any? { |n| f.name == n }
- next if dep.name =~ /autoconf|pkg-config/ && f.name == 'ruby-build'
-
+ next if dep.build? or dep.run?
problem %{#{dep} dependency should be "depends_on '#{dep}' => :build"}
when "git", "ruby", "emacs", "mercurial"
problem <<-EOS.undent