1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Copy an older version of the p5-DBD-Pg port and hook it back up to the

tree.

Changes to utf8 handling in DBD::Pg 3.3.0 have caused it to be
blacklisted for the latest versions of RT 4.0 and 4.2.  This version
is what they prefer.
This commit is contained in:
Matthew Seaman 2014-07-29 08:30:25 +00:00
parent eead3d10fb
commit d3d44d35e5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363298
6 changed files with 62 additions and 0 deletions

View File

@ -312,6 +312,7 @@
SUBDIR += p5-DBD-ODBC
SUBDIR += p5-DBD-Oracle
SUBDIR += p5-DBD-Pg
SUBDIR += p5-DBD-Pg32
SUBDIR += p5-DBD-PgLite
SUBDIR += p5-DBD-PgPP
SUBDIR += p5-DBD-SQLite

View File

@ -0,0 +1,23 @@
# Created by: James FitzGibbon <jfitz@FreeBSD.org>
# $FreeBSD$
PORTNAME= DBD-Pg
PORTVERSION= 3.2.1
CATEGORIES= databases perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
PKGNAMESUFFIX= 32
MAINTAINER= matthew@FreeBSD.org
COMMENT= Provides access to PostgreSQL databases through the DBI
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-DBI>=1.614:${PORTSDIR}/databases/p5-DBI
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= pgsql perl5
USE_PERL5= configure
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (DBD-Pg-3.2.1.tar.gz) = f4540395064936e2cff86cfb60935f313d21eae11e967aeae0fc99426350b33f
SIZE (DBD-Pg-3.2.1.tar.gz) = 249178

View File

@ -0,0 +1,19 @@
--- Makefile.PL.orig 2010-11-22 08:55:41.000000000 +0800
+++ Makefile.PL 2010-11-22 08:57:50.000000000 +0800
@@ -196,7 +196,7 @@
(
NAME => 'DBD::Pg',
VERSION_FROM => 'Pg.pm',
- INC => "-I$POSTGRES_INCLUDE -I$dbi_arch_dir",
+ INC => "-I$POSTGRES_INCLUDE -I$dbi_arch_dir $comp_opts",
OBJECT => "Pg\$(OBJ_EXT) dbdimp\$(OBJ_EXT) quote\$(OBJ_EXT) types\$(OBJ_EXT)",
LIBS => ["-L$POSTGRES_LIB -lpq -lm"],
AUTHOR => 'Greg Sabino Mullane',
@@ -207,7 +207,6 @@
'Test::More' => '0.61',
'version' => '0',
},
- CCFLAGS => $comp_opts,
PERL_MALLOC_OK => 1,
NEEDS_LINKING => 1,
NO_META => 1,

View File

@ -0,0 +1,6 @@
DBD::Pg is an extension to Perl which allows access to
PostgreSQL databases. It is built on top of the standard
DBI extension and implements some of the methods that DBI
defines.
WWW: http://search.cpan.org/dist/DBD-Pg/

View File

@ -0,0 +1,11 @@
%%PERL5_MAN3%%/Bundle::DBD::Pg.3.gz
%%PERL5_MAN3%%/DBD::Pg.3.gz
%%SITE_PERL%%/%%PERL_ARCH%%/Bundle/DBD/Pg.pm
%%SITE_PERL%%/%%PERL_ARCH%%/DBD/Pg.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Pg/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Pg/Pg.so
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD/Pg
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DBD
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/DBD
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Bundle/DBD
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Bundle