diff options
| author | Adam Vandenberg | 2013-03-28 13:10:11 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-03-28 13:10:41 -0700 |
| commit | f12c65becbcabe6c140afba8dc1346eab008c2e1 (patch) | |
| tree | 15a7efd8d7f270f2e8943b7b907a0a46eeed8cd7 /Library | |
| parent | ec5a6eb2f101ecae2f18d402261645165aceae58 (diff) | |
| download | homebrew-f12c65becbcabe6c140afba8dc1346eab008c2e1.tar.bz2 | |
audit: don't complain about postgis using postgresql
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 31dac7291..b9c47eba0 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -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' |
