audit: flag imake as a build dep

This commit is contained in:
Adam Vandenberg 2012-02-21 18:57:27 -08:00
parent e32e2475bb
commit a8e4cf4f80

View File

@ -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