postgis: add explicit postgresql config for Lion
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
791fb16dcc
commit
f23697d109
1 changed files with 6 additions and 0 deletions
|
@ -39,6 +39,12 @@ class Postgis < Formula
|
|||
"--with-projdir=#{HOMEBREW_PREFIX}"
|
||||
]
|
||||
|
||||
# Apple ship a postgres client in Lion, conflicts with installed PostgreSQL server.
|
||||
if MacOS.lion?
|
||||
postgresql = Formula.factory('postgresql')
|
||||
args << "--with-pgconfig=#{postgresql.bin}/pg_config"
|
||||
end
|
||||
|
||||
if ARGV.build_head?
|
||||
system "./autogen.sh"
|
||||
gettext = Formula.factory('gettext')
|
||||
|
|
Loading…
Reference in a new issue