diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/libpqxx.rb | 32 |
1 files changed, 3 insertions, 29 deletions
diff --git a/Library/Formula/libpqxx.rb b/Library/Formula/libpqxx.rb index 33061b8f4..ae8bd2b1c 100644 --- a/Library/Formula/libpqxx.rb +++ b/Library/Formula/libpqxx.rb @@ -2,25 +2,21 @@ require 'formula' class Libpqxx < Formula homepage 'http://pqxx.org/development/libpqxx/' - url 'http://pqxx.org/download/software/libpqxx/libpqxx-4.0.tar.gz' - sha1 '09e6301e610e7acddbec85f4803886fd6822b2e6' + url 'http://pqxx.org/download/software/libpqxx/libpqxx-4.0.1.tar.gz' + sha1 '4748835bd1a90fb34e6e577788006a416c2acb60' depends_on 'pkg-config' => :build depends_on :postgresql # Patches borrowed from MacPorts. See: # https://trac.macports.org/ticket/33671 - # https://trac.macports.org/changeset/91294 # # (1) Patched maketemporary to avoid an error message about improper use # of the mktemp command; apparently maketemporary is designed to call # mktemp in various ways, some of which may be improper, as it attempts # to determine how to use it properly; we don't want to see those errors # in the configure phase output. - # (2) Patched splitconfig to avoid usage of "echo -n" which is not - # POSIX-compliant, thus causing incorrect output on Snow Leopard - # and later. - # (3) Patched configure on darwin to fix incorrect assumption + # (2) Patched configure on darwin to fix incorrect assumption # that true and false always live in /bin; on OS X they live in /usr/bin. def patches; DATA; end @@ -42,28 +38,6 @@ __END__ if test -z "$T" ; then T="`mktemp -t pqxx.XXXXXX`" fi - ---- a/tools/splitconfig.orig 2009-07-04 00:38:30.000000000 -0500 -+++ b/tools/splitconfig 2012-03-18 01:06:12.000000000 -0500 -@@ -105,7 +105,7 @@ - esac - } - --echo -n "Checking for usable grep -F or equivalent... " -+printf "Checking for usable grep -F or equivalent... " - SAMPLEPAT="foo - bar - splat" -@@ -139,7 +139,7 @@ - for publication in $PUBLICATIONS ; do - for factor in $FACTORS ; do - CFGFILE="include/pqxx/config-${publication}-${factor}.h" -- echo -n "Generating $CFGFILE: " -+ printf "Generating $CFGFILE: " - ITEMS="`grep -w "${publication}" "$CFDB" | grep -w "${factor}" | cut -f 1 | grep -v '^$'`" - if test -z "$ITEMS" ; then - echo "no items--skipping" - --- a/configure.orig 2011-11-27 05:12:25.000000000 -0600 +++ b/configure 2012-03-18 01:09:08.000000000 -0500 @@ -15204,7 +15204,7 @@ |
