From 2f842994f09aff43925b6d8cd3838e92575425e4 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 28 Feb 2012 11:31:20 -0600 Subject: [PATCH] audit: automake, autoconf, and libtool are build-time deps Signed-off-by: Jack Nagel --- Library/Homebrew/cmd/audit.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index ac67ea0b9d..d17ceb25e1 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