diff options
-rw-r--r-- | databases/p5-DBD-Pg/Makefile | 16 | ||||
-rw-r--r-- | databases/p5-DBD-Pg/distinfo | 6 | ||||
-rw-r--r-- | databases/p5-DBD-Pg/files/patch-Makefile.PL | 9 |
3 files changed, 8 insertions, 23 deletions
diff --git a/databases/p5-DBD-Pg/Makefile b/databases/p5-DBD-Pg/Makefile index c02825e322ad..9649023a191c 100644 --- a/databases/p5-DBD-Pg/Makefile +++ b/databases/p5-DBD-Pg/Makefile @@ -6,16 +6,16 @@ # PORTNAME= DBD-Pg -PORTVERSION= 1.49 +PORTVERSION= 2.5.0 CATEGORIES= databases perl5 -MASTER_SITES= ${MASTER_SITE_PERL_CPAN} -MASTER_SITE_SUBDIR= DBD +MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Provides access to PostgreSQL databases through the DBI -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +BUILD_DEPENDS= p5-DBI>=1.52:${PORTSDIR}/databases/p5-DBI \ + p5-version>=0:${PORTSDIR}/devel/p5-version RUN_DEPENDS= ${BUILD_DEPENDS} USE_PGSQL= yes @@ -33,10 +33,4 @@ post-install: @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif -.include <bsd.port.pre.mk> - -PG_CONFIG= ${LOCALBASE}/bin/pg_config -CONFIGURE_ENV+= POSTGRES_INCLUDE=`${PG_CONFIG} --includedir` \ - POSTGRES_LIB=`${PG_CONFIG} --libdir` - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/databases/p5-DBD-Pg/distinfo b/databases/p5-DBD-Pg/distinfo index 48d0524e102f..d0bf188cf3c5 100644 --- a/databases/p5-DBD-Pg/distinfo +++ b/databases/p5-DBD-Pg/distinfo @@ -1,3 +1,3 @@ -MD5 (DBD-Pg-1.49.tar.gz) = 76b9d6a2f4cbaefcba23380f83998215 -SHA256 (DBD-Pg-1.49.tar.gz) = 6577866f7feac020928c3a5b45dc25726656153d61f366bc67792fb6b8951978 -SIZE (DBD-Pg-1.49.tar.gz) = 147310 +MD5 (DBD-Pg-2.5.0.tar.gz) = 5456b1dd1018cdba95dff3c11d04dcf2 +SHA256 (DBD-Pg-2.5.0.tar.gz) = 8823d2e8dfdef9106e18017066cf61b708266e8b42ac31b5ca992fbbe7f942d1 +SIZE (DBD-Pg-2.5.0.tar.gz) = 188873 diff --git a/databases/p5-DBD-Pg/files/patch-Makefile.PL b/databases/p5-DBD-Pg/files/patch-Makefile.PL index fe6c53911ab1..cdf52593d162 100644 --- a/databases/p5-DBD-Pg/files/patch-Makefile.PL +++ b/databases/p5-DBD-Pg/files/patch-Makefile.PL @@ -1,14 +1,5 @@ --- Makefile.PL.orig Thu Apr 20 19:25:49 2006 +++ Makefile.PL Thu Apr 20 19:26:54 2006 -@@ -96,7 +96,7 @@ - } - } - --my $comp_opts = $Config{q{ccflags}} . " -DPGLIBVERSION=$serverversion -DPGDEFPORT=$defaultport"; -+my $comp_opts = " -DPGLIBVERSION=$serverversion -DPGDEFPORT=$defaultport"; - - if ($ENV{DBDPG_GCCDEBUG}) { - warn "Enabling many compiler options\n"; @@ -120,7 +120,7 @@ ( NAME => 'DBD::Pg', |