aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2011-11-29 18:55:55 -0800
committerAdam Vandenberg2011-11-29 18:55:55 -0800
commit49de8f2eb333adc18d8aca8422d6b2c5154eb4fc (patch)
tree913ebdadb41b08235fd1ee2e80920c1b8209180e /Library
parentebe66636564dd39c83e0e42b8f45ad999eac608a (diff)
downloadhomebrew-49de8f2eb333adc18d8aca8422d6b2c5154eb4fc.tar.bz2
audit: smake is also a build tool
Diffstat (limited to 'Library')
-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