From f6b13f4210c76ba8fe42194c8626d340e427822e Mon Sep 17 00:00:00 2001 From: Clay McClure Date: Mon, 7 May 2012 16:54:28 -0400 Subject: postgresql: fix PL/Python build Fixes #11162 Closes #12134 Signed-off-by: Adam Vandenberg --- Library/Formula/postgresql.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'Library/Formula/postgresql.rb') 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 + -- cgit v1.2.3