audit: don't complain about postgis using postgresql
This commit is contained in:
parent
ad58cd88ab
commit
dd112ef579
@ -140,11 +140,19 @@ class FormulaAuditor
|
|||||||
end
|
end
|
||||||
|
|
||||||
case dep.name
|
case dep.name
|
||||||
when "git", "python", "ruby", "emacs", "mysql", "postgresql", "mercurial"
|
when "git", "python", "ruby", "emacs", "mysql", "mercurial"
|
||||||
problem <<-EOS.undent
|
problem <<-EOS.undent
|
||||||
Don't use #{dep} as a dependency. We allow non-Homebrew
|
Don't use #{dep} as a dependency. We allow non-Homebrew
|
||||||
#{dep} installations.
|
#{dep} installations.
|
||||||
EOS
|
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'
|
when 'gfortran'
|
||||||
problem "Use ENV.fortran during install instead of depends_on 'gfortran'"
|
problem "Use ENV.fortran during install instead of depends_on 'gfortran'"
|
||||||
when 'open-mpi', 'mpich2'
|
when 'open-mpi', 'mpich2'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user