mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-02 21:49:49 -05:00
postgis: add explicit postgresql config for Lion
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
1 parent
1b9598c34b
commit
7ae00a4b0a
1 file changed
+6
@@ -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')
|
||||
|
||||
Reference in new issue
Block a user