From 49de8f2eb333adc18d8aca8422d6b2c5154eb4fc Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 29 Nov 2011 18:55:55 -0800 Subject: audit: smake is also a build tool --- Library/Formula/star.rb | 2 +- Library/Homebrew/cmd/audit.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Library') diff --git a/Library/Formula/star.rb b/Library/Formula/star.rb index 19dbe52a9..bbd72ebfc 100644 --- a/Library/Formula/star.rb +++ b/Library/Formula/star.rb @@ -5,7 +5,7 @@ class Star < Formula homepage 'http://cdrecord.berlios.de/old/private/star.html' md5 'f9a28f83702624c4c08ef1a343014c7a' - depends_on "smake" + depends_on "smake" => :build def install system "smake", "GMAKE_NOWARN=true", "INS_BASE=#{prefix}", "MANDIR=share/man" diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index d73f471c0..37ad88dd8 100755 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -30,7 +30,7 @@ def audit_formula_text name, text end # cmake, pkg-config, and scons are build-time deps - if text =~ /depends_on ['"](cmake|pkg-config|scons)['"]$/ + if text =~ /depends_on ['"](cmake|pkg-config|scons|smake)['"]$/ problems << " * #{$1} dependency should be \"depends_on '#{$1}' => :build\"" end -- cgit v1.2.3