audit: automake, autoconf, and libtool are build-time deps

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Jack Nagel 2012-02-28 11:31:20 -06:00
parent f74e616724
commit 2f842994f0

View File

@ -24,7 +24,9 @@ def audit_formula_text name, text
end end
# build tools should be flagged properly # 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\"" problems << " * #{$1} dependency should be \"depends_on '#{$1}' => :build\""
end end