From f910b69bfa1f03246bbd275988ed1e8c20f594a0 Mon Sep 17 00:00:00 2001 From: sunpoet Date: Sun, 8 Jan 2012 10:17:01 +0000 Subject: - Update *_DEPENDS: p5-parent is already in perl >= 5.10.1 - Bump PORTREVISION for dependency change --- textproc/p5-Pod-POM/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'textproc') diff --git a/textproc/p5-Pod-POM/Makefile b/textproc/p5-Pod-POM/Makefile index dd55c69bd9e1..7b13b2e79c62 100644 --- a/textproc/p5-Pod-POM/Makefile +++ b/textproc/p5-Pod-POM/Makefile @@ -7,7 +7,7 @@ PORTNAME= Pod-POM PORTVERSION= 0.27 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -15,8 +15,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= POD Object Model -BUILD_DEPENDS= p5-parent>=0:${PORTSDIR}/devel/p5-parent \ - p5-File-Slurp>=0:${PORTSDIR}/devel/p5-File-Slurp +BUILD_DEPENDS= p5-File-Slurp>=0:${PORTSDIR}/devel/p5-File-Slurp RUN_DEPENDS:= ${BUILD_DEPENDS} PERL_CONFIGURE= yes @@ -45,4 +44,11 @@ MAN3= Pod::POM.3 \ Pod::POM::View::Pod.3 \ Pod::POM::View::Text.3 -.include +.include + +.if ${PERL_LEVEL} < 501001 +BUILD_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent +RUN_DEPENDS+= p5-parent>=0:${PORTSDIR}/devel/p5-parent +.endif + +.include -- cgit