From 88fa149fdd95a277ff39f36a79a7d6ff9a153b67 Mon Sep 17 00:00:00 2001 From: sunpoet Date: Wed, 29 Jun 2011 05:05:03 +0000 Subject: - Fix *_DEPENDS: devel/p5-version is required by lang/perl5.8 only - Bump PORTREVISION for dependency change --- databases/p5-DBD-Pg/Makefile | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/databases/p5-DBD-Pg/Makefile b/databases/p5-DBD-Pg/Makefile index f23669bd6e65..48ff7058983c 100644 --- a/databases/p5-DBD-Pg/Makefile +++ b/databases/p5-DBD-Pg/Makefile @@ -7,6 +7,7 @@ PORTNAME= DBD-Pg PORTVERSION= 2.18.1 +PORTREVISION= 1 CATEGORIES= databases perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -14,12 +15,11 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Provides access to PostgreSQL databases through the DBI -LICENSE_COMB= dual LICENSE= ART20 GPLv1 +LICENSE_COMB= dual -BUILD_DEPENDS= p5-DBI>=1.52:${PORTSDIR}/databases/p5-DBI \ - p5-version>=0:${PORTSDIR}/devel/p5-version -RUN_DEPENDS= ${BUILD_DEPENDS} +BUILD_DEPENDS= p5-DBI>=1.52:${PORTSDIR}/databases/p5-DBI +RUN_DEPENDS= p5-DBI>=1.52:${PORTSDIR}/databases/p5-DBI USE_PGSQL= yes @@ -36,4 +36,11 @@ post-install: @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." .endif -.include +.include + +.if ${PERL_LEVEL} < 501000 +BUILD_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version +RUN_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version +.endif + +.include -- cgit