aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authormatthew <matthew@FreeBSD.org>2014-07-29 16:30:25 +0800
committermatthew <matthew@FreeBSD.org>2014-07-29 16:30:25 +0800
commitac579d184cff27fbaa2f2d8fbbf4825cf2a5280f (patch)
treebce97efe1136fabf2294b2ccfa0de79f21db7482 /databases
parent2ea1545f51f8cc24dc520d2e72b44daf53724929 (diff)
downloadfreebsd-ports-gnome-ac579d184cff27fbaa2f2d8fbbf4825cf2a5280f.tar.gz
freebsd-ports-gnome-ac579d184cff27fbaa2f2d8fbbf4825cf2a5280f.tar.zst
freebsd-ports-gnome-ac579d184cff27fbaa2f2d8fbbf4825cf2a5280f.zip
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.
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/p5-DBD-Pg32/Makefile23
-rw-r--r--databases/p5-DBD-Pg32/distinfo2
-rw-r--r--databases/p5-DBD-Pg32/files/patch-Makefile.PL19
-rw-r--r--databases/p5-DBD-Pg32/pkg-descr6
-rw-r--r--databases/p5-DBD-Pg32/pkg-plist11
6 files changed, 62 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index 623ca23651c1..122f9a556588 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -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
diff --git a/databases/p5-DBD-Pg32/Makefile b/databases/p5-DBD-Pg32/Makefile
new file mode 100644
index 000000000000..e2ced6e504a0
--- /dev/null
+++ b/databases/p5-DBD-Pg32/Makefile
@@ -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>
diff --git a/databases/p5-DBD-Pg32/distinfo b/databases/p5-DBD-Pg32/distinfo
new file mode 100644
index 000000000000..635005076482
--- /dev/null
+++ b/databases/p5-DBD-Pg32/distinfo
@@ -0,0 +1,2 @@
+SHA256 (DBD-Pg-3.2.1.tar.gz) = f4540395064936e2cff86cfb60935f313d21eae11e967aeae0fc99426350b33f
+SIZE (DBD-Pg-3.2.1.tar.gz) = 249178
diff --git a/databases/p5-DBD-Pg32/files/patch-Makefile.PL b/databases/p5-DBD-Pg32/files/patch-Makefile.PL
new file mode 100644
index 000000000000..a374625f4361
--- /dev/null
+++ b/databases/p5-DBD-Pg32/files/patch-Makefile.PL
@@ -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,
diff --git a/databases/p5-DBD-Pg32/pkg-descr b/databases/p5-DBD-Pg32/pkg-descr
new file mode 100644
index 000000000000..40f220711b0c
--- /dev/null
+++ b/databases/p5-DBD-Pg32/pkg-descr
@@ -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/
diff --git a/databases/p5-DBD-Pg32/pkg-plist b/databases/p5-DBD-Pg32/pkg-plist
new file mode 100644
index 000000000000..7f6074991264
--- /dev/null
+++ b/databases/p5-DBD-Pg32/pkg-plist
@@ -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