aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/cmd/audit.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index ac67ea0b9..d17ceb25e 100755
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -24,7 +24,9 @@ def audit_formula_text name, text
end
# build tools should be flagged properly
- if text =~ /depends_on ['"](boost-build|cmake|imake|pkg-config|scons|smake)['"]$/
+ build_deps = %w{autoconf automake boost-build cmake
+ imake libtool pkg-config scons smake}
+ if text =~ /depends_on ['"](#{build_deps*'|'})['"]$/
problems << " * #{$1} dependency should be \"depends_on '#{$1}' => :build\""
end