Skip to content

Instantly share code, notes, and snippets.

@audreyt
Created May 15, 2013 08:13
Show Gist options
  • Save audreyt/5582400 to your computer and use it in GitHub Desktop.
Save audreyt/5582400 to your computer and use it in GitHub Desktop.
Pg93 for homebrew
diff --git a/Library/Formula/postgresql.rb b/Library/Formula/postgresql.rb
index d1a2e77..da1c030 100644
--- a/Library/Formula/postgresql.rb
+++ b/Library/Formula/postgresql.rb
@@ -2,9 +2,11 @@ require 'formula'
class Postgresql < Formula
homepage 'http://www.postgresql.org/'
- url 'http://ftp.postgresql.org/pub/source/v9.2.4/postgresql-9.2.4.tar.bz2'
- sha1 '75b53c884cb10ed9404747b51677358f12082152'
+ url 'http://ftp.postgresql.org/pub/source/v9.3beta1/postgresql-9.3beta1.tar.bz2'
+ version '9.3beta1'
+ sha256 '1e11099fe4a6cd3327c9c2bf4a9b903383195de330da27d322fc872d1d694df1'
+ depends_on 'gettext'
depends_on 'readline'
depends_on 'libxml2' if MacOS.version == :leopard # Leopard libxml is too old
depends_on 'ossp-uuid' => :recommended
@@ -184,17 +186,6 @@ end
__END__
---- a/src/pl/plpython/Makefile 2011-09-23 08:03:52.000000000 +1000
-+++ b/src/pl/plpython/Makefile 2011-10-26 21:43:40.000000000 +1100
-@@ -24,8 +24,6 @@
- # 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
-
- # If we don't have a shared library and the platform doesn't allow it
--- a/contrib/uuid-ossp/uuid-ossp.c 2012-07-30 18:34:53.000000000 -0700
+++ b/contrib/uuid-ossp/uuid-ossp.c 2012-07-30 18:35:03.000000000 -0700
@@ -9,6 +9,8 @@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment