aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2012-02-28 11:31:20 -0600
committerJack Nagel2012-02-28 11:36:12 -0600
commit2f842994f09aff43925b6d8cd3838e92575425e4 (patch)
tree9689270d0f64a50d9615d7c4d76c3e78b70899ef /Library/Homebrew/cmd
parentf74e616724c51001d832bb19f7acdc7f5349d8f6 (diff)
downloadbrew-2f842994f09aff43925b6d8cd3838e92575425e4.tar.bz2
audit: automake, autoconf, and libtool are build-time deps
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd')
-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