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
commitec1f2faf2220f5a1e5aeda49a89fdde56ac3d41d (patch)
treefe80d61e437210f200b0734521fc37c5cd83ed11 /Library/Homebrew/cmd
parent74b4c03ddcd0cfe0a17330030ab7944ea06eb7fd (diff)
downloadhomebrew-ec1f2faf2220f5a1e5aeda49a89fdde56ac3d41d.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