Created
July 8, 2011 18:50
-
-
Save Kronuz/1072509 to your computer and use it in GitHub Desktop.
postgis build failing using homebrew and Mac OS X 10.7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Library/Formula/postgis.rb b/Library/Formula/postgis.rb | |
index c1399e6..f677b8b 100644 | |
--- a/Library/Formula/postgis.rb | |
+++ b/Library/Formula/postgis.rb | |
@@ -36,7 +36,8 @@ class Postgis < Formula | |
args = [ | |
"--disable-dependency-tracking", | |
"--prefix=#{prefix}", | |
- "--with-projdir=#{HOMEBREW_PREFIX}" | |
+ "--with-projdir=#{HOMEBREW_PREFIX}", | |
+ "--with-pgconfig=#{HOMEBREW_PREFIX}/bin/pg_config" | |
] | |
if ARGV.build_head? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment