Skip to content
Snippets Groups Projects
Commit dd112ef5 authored by Adam Vandenberg's avatar Adam Vandenberg
Browse files

audit: don't complain about postgis using postgresql

parent ad58cd88
No related branches found
No related tags found
No related merge requests found
......@@ -140,11 +140,19 @@ class FormulaAuditor
end
case dep.name
when "git", "python", "ruby", "emacs", "mysql", "postgresql", "mercurial"
when "git", "python", "ruby", "emacs", "mysql", "mercurial"
problem <<-EOS.undent
Don't use #{dep} as a dependency. We allow non-Homebrew
#{dep} installations.
EOS
when "postgresql"
# Postgis specifically requires a Homebrewed postgresql
unless f.name == "postgis"
problem <<-EOS.undent
Don't use #{dep} as a dependency. We allow non-Homebrew
#{dep} installations.
EOS
end
when 'gfortran'
problem "Use ENV.fortran during install instead of depends_on 'gfortran'"
when 'open-mpi', 'mpich2'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment