aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/star.rb2
-rwxr-xr-xLibrary/Homebrew/cmd/audit.rb2
2 files changed, 2 insertions, 2 deletions
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