aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd/audit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/dev-cmd/audit.rb')
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb19
1 files changed, 1 insertions, 18 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index 6da591f1a..4982bfbc5 100644
--- a/Library/Homebrew/dev-cmd/audit.rb
+++ b/Library/Homebrew/dev-cmd/audit.rb
@@ -379,24 +379,7 @@ class FormulaAuditor
case dep.name
when "git"
- problem "Don't use git as a dependency"
- when "gfortran"
- problem "Use `depends_on :fortran` instead of `depends_on 'gfortran'`"
- when "ruby"
- problem <<~EOS
- Don't use "ruby" as a dependency. If this formula requires a
- minimum Ruby version not provided by the system you should
- use the RubyRequirement:
- depends_on :ruby => "1.8"
- where "1.8" is the minimum version of Ruby required.
- EOS
- when "open-mpi", "mpich"
- problem <<~EOS
- There are multiple conflicting ways to install MPI. Use an MPIRequirement:
- depends_on :mpi => [<lang list>]
- Where <lang list> is a comma delimited list that can include:
- :cc, :cxx, :f77, :f90
- EOS
+ problem "Don't use git as a dependency (it's always available)"
when *BUILD_TIME_DEPS
next if dep.build? || dep.run?
problem <<~EOS