aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Homebrew/cmd/audit.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 6f7a9fa1d..ac67ea0b9 100755
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -23,8 +23,8 @@ def audit_formula_text name, text
problems << " * Check indentation of 'depends_on'."
end
- # cmake, pkg-config, and scons are build-time deps
- if text =~ /depends_on ['"](boost-build|cmake|pkg-config|scons|smake)['"]$/
+ # build tools should be flagged properly
+ if text =~ /depends_on ['"](boost-build|cmake|imake|pkg-config|scons|smake)['"]$/
problems << " * #{$1} dependency should be \"depends_on '#{$1}' => :build\""
end