aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 3d5f6c440..2ab655df4 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -174,8 +174,12 @@ class FormulaAuditor
Or if it is indeed a runtime denpendency
depends_on "#{dep}" => :run
EOS
- when "git", "ruby", "mercurial"
- problem "Don't use #{dep} as a dependency. We allow non-Homebrew #{dep} installations."
+ when "git"
+ problem "Use `depends_on :git` instead of `depends_on 'git'`"
+ when "mercurial"
+ problem "Use `depends_on :hg` instead of `depends_on 'mercurial'`"
+ when "ruby"
+ problem "Don't use ruby as a dependency. We allow non-Homebrew ruby installations."
when 'gfortran'
problem "Use `depends_on :fortran` instead of `depends_on 'gfortran'`"
when 'open-mpi', 'mpich2'