diff options
author | jtb <jtb@pkgsrc.org> | 2001-03-05 20:07:47 +0000 |
---|---|---|
committer | jtb <jtb@pkgsrc.org> | 2001-03-05 20:07:47 +0000 |
commit | b56ba87d0c7120bcac4e4806dde2e1f69a9b4a5b (patch) | |
tree | 89a28f861c5ebf5de943fb898e1441b86c7457e6 /databases | |
parent | 53985ed50b0cf1d302b55b01a0609507a7ebac57 (diff) | |
download | pkgsrc-b56ba87d0c7120bcac4e4806dde2e1f69a9b4a5b.tar.gz |
Update of p5-pgsql to 1.9.0. Update provided by Damon Brodie in
PR pkg/11597.
Revision history for Perl extension Pg.
1.9.0 Apr 04 2000
- remove compile errors with perl5.6
- remove old-style interface
- change return value in case of failure from -1 to undef
- for building the module it is required to set the environment
variables POSTGRES_INCLUDE and POSTGRES_LIB
1.8.2 Mar 31 1999
- bug-fix in Makefile.PL for $POSTGRES_HOME not defined
- bug-fix in doQuery() spotted by
Christopher Hutton <crhutton@welcomecard.com>
- minor changes to be compliant with libpq
- use PQsetdbLogin (using the provided userid/password)
instead of PQsetdb
Diffstat (limited to 'databases')
-rw-r--r-- | databases/p5-pgsql/Makefile | 11 | ||||
-rw-r--r-- | databases/p5-pgsql/files/md5 | 4 | ||||
-rw-r--r-- | databases/p5-pgsql/files/patch-sum | 4 | ||||
-rw-r--r-- | databases/p5-pgsql/patches/patch-aa | 24 |
4 files changed, 21 insertions, 22 deletions
diff --git a/databases/p5-pgsql/Makefile b/databases/p5-pgsql/Makefile index 992cc92da8a..6a55907c5b5 100644 --- a/databases/p5-pgsql/Makefile +++ b/databases/p5-pgsql/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.5 2001/02/16 14:17:35 wiz Exp $ -# +# $NetBSD: Makefile,v 1.6 2001/03/05 20:07:47 jtb Exp $ -DISTNAME= pgsql_perl5-1.8.1 -PKGNAME= p5-pgsql-1.8.1 +DISTNAME= pgsql_perl5-1.9.0 +PKGNAME= p5-pgsql-1.9.0 CATEGORIES= databases devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Pg/} @@ -10,12 +9,12 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.pobox.com/~gbarr/perl-ldap/ COMMENT= Perl interface class for PostgreSQL -DEPENDS+= postgresql-*:../../databases/postgresql +DEPENDS+= postgresql-[0-9]*:../../databases/postgresql USE_PERL5= # defined PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist -MAKE_ENV+= POSTGRES_HOME="${PREFIX}" +EVAL_PREFIX+= POSTGRES_HOME=postgresql # Until the source catches up to the current Perl API, we need PERL_POLLUTE # to look like an older perl. diff --git a/databases/p5-pgsql/files/md5 b/databases/p5-pgsql/files/md5 index b0de092d54d..e51b531077f 100644 --- a/databases/p5-pgsql/files/md5 +++ b/databases/p5-pgsql/files/md5 @@ -1,3 +1,3 @@ -$NetBSD: md5,v 1.1.1.1 1999/12/23 13:15:12 rh Exp $ +$NetBSD: md5,v 1.2 2001/03/05 20:07:48 jtb Exp $ -MD5 (pgsql_perl5-1.8.1.tar.gz) = 56f663e8fbdcab0003ba6bbdabe8d142 +MD5 (pgsql_perl5-1.9.0.tar.gz) = ec20b8e1596022f8f354550147259d56 diff --git a/databases/p5-pgsql/files/patch-sum b/databases/p5-pgsql/files/patch-sum index e701ca92ac4..f066b3f1946 100644 --- a/databases/p5-pgsql/files/patch-sum +++ b/databases/p5-pgsql/files/patch-sum @@ -1,3 +1,3 @@ -$NetBSD: patch-sum,v 1.2 2000/09/03 09:49:46 wiz Exp $ +$NetBSD: patch-sum,v 1.3 2001/03/05 20:07:49 jtb Exp $ -MD5 (patch-aa) = 2fca5e3fa28672f58bcb225fd1476088 +MD5 (patch-aa) = 7ae0bc1ac6b59b453703226a4550983b diff --git a/databases/p5-pgsql/patches/patch-aa b/databases/p5-pgsql/patches/patch-aa index cf3d0400fe6..361dd95240a 100644 --- a/databases/p5-pgsql/patches/patch-aa +++ b/databases/p5-pgsql/patches/patch-aa @@ -1,13 +1,13 @@ -$NetBSD: patch-aa,v 1.2 2000/09/03 09:49:46 wiz Exp $ +$NetBSD: patch-aa,v 1.3 2001/03/05 20:07:49 jtb Exp $ ---- Makefile.PL.orig Fri Apr 21 17:04:12 2000 -+++ Makefile.PL Fri Apr 21 17:03:37 2000 -@@ -29,7 +29,7 @@ - my %opts = ( - NAME => 'Pg', - VERSION_FROM => 'Pg.pm', -- INC => "-I$ENV{POSTGRES_HOME}/include", -+ INC => "-I$ENV{POSTGRES_HOME}/include/pgsql", - OBJECT => "Pg\$(OBJ_EXT)", - LIBS => ["-L$ENV{POSTGRES_HOME}/lib -lpq"], - ); +--- Makefile.PL.orig Tue Nov 28 21:30:41 2000 ++++ Makefile.PL +@@ -14,7 +14,7 @@ + if ((!$ENV{POSTGRES_INCLUDE} or !$ENV{POSTGRES_LIB}) and !$ENV{POSTGRES_HOME}) { + die "please set environment variables POSTGRES_INCLUDE and POSTGRES_LIB !\n"; + } elsif ((!$ENV{POSTGRES_INCLUDE} or !$ENV{POSTGRES_LIB}) and $ENV{POSTGRES_HOME}) { +- $POSTGRES_INCLUDE = "$ENV{POSTGRES_HOME}/include"; ++ $POSTGRES_INCLUDE = "$ENV{POSTGRES_HOME}/include/pgsql"; + $POSTGRES_LIB = "$ENV{POSTGRES_HOME}/lib"; + } else { + $POSTGRES_INCLUDE = "$ENV{POSTGRES_INCLUDE}"; |