aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/postgresql.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/postgresql.rb b/Library/Formula/postgresql.rb
index 7f2fa7d75..77ed67de6 100644
--- a/Library/Formula/postgresql.rb
+++ b/Library/Formula/postgresql.rb
@@ -21,6 +21,11 @@ class Postgresql < Formula
skip_clean :all
+ def patches
+ # Fix PL/Python build: https://github.com/mxcl/homebrew/issues/11162
+ DATA
+ end
+
def install
ENV.libxml2 if MacOS.snow_leopard?
@@ -199,3 +204,18 @@ To install gems without sudo, see the Homebrew wiki.
EOPLIST
end
end
+
+
+__END__
+diff --git a/src/pl/plpython/Makefile b/src/pl/plpython/Makefile
+index df07fc2..7c90bff 100644
+--- a/src/pl/plpython/Makefile
++++ b/src/pl/plpython/Makefile
+@@ -24,7 +24,6 @@ endif
+ # Darwin (OS X) has its own ideas about how to do this.
+ ifeq ($(PORTNAME), darwin)
+ shared_libpython = yes
+-override python_libspec = -framework Python
+ override python_additional_libs =
+ endif
+