aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorClay McClure2012-05-07 16:54:28 -0400
committerAdam Vandenberg2012-06-07 21:20:27 -0700
commitf6b13f4210c76ba8fe42194c8626d340e427822e (patch)
tree4a1cf1739f9be85971cba4be230e7d0c7f7e42fd /Library
parentc07611416fb21b98a8d4ee150d9e191f53697469 (diff)
downloadhomebrew-f6b13f4210c76ba8fe42194c8626d340e427822e.tar.bz2
postgresql: fix PL/Python build
Fixes #11162 Closes #12134 Signed-off-by: Adam Vandenberg <flangy@gmail.com>
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
+