diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/postgis.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/postgis.rb b/Library/Formula/postgis.rb index c1399e60d..79e3f6596 100644 --- a/Library/Formula/postgis.rb +++ b/Library/Formula/postgis.rb @@ -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') |
