diff options
author | leeym <leeym@FreeBSD.org> | 2010-06-18 08:34:31 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2010-06-18 08:34:31 +0800 |
commit | 4973c605cf1d3461c600213b525934cf209079ce (patch) | |
tree | 20f9b806ca4b94bf64251b7db8f8cce537c02269 /devel | |
parent | 6c14fbeb78da3b4e75393d8224779fff810c719a (diff) | |
download | freebsd-ports-gnome-4973c605cf1d3461c600213b525934cf209079ce.tar.gz freebsd-ports-gnome-4973c605cf1d3461c600213b525934cf209079ce.tar.zst freebsd-ports-gnome-4973c605cf1d3461c600213b525934cf209079ce.zip |
- simplify dependency
- bump PORTREVISION
PR: ports/147954
Submitted by: leeym
Approved by: maintainer
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-Params-Validate/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/devel/p5-Params-Validate/Makefile b/devel/p5-Params-Validate/Makefile index 14dbfef823ee..8e2725c45f19 100644 --- a/devel/p5-Params-Validate/Makefile +++ b/devel/p5-Params-Validate/Makefile @@ -7,7 +7,7 @@ PORTNAME= Params-Validate PORTVERSION= 0.95 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -15,13 +15,16 @@ PKGNAMEPREFIX= p5- MAINTAINER= dsh@vlink.ru COMMENT= Validate method/function parameters -BUILD_DEPENDS= p5-Attribute-Handlers>=0.79:${PORTSDIR}/devel/p5-Attribute-Handlers \ - p5-ExtUtils-CBuilder>=0.2703:${PORTSDIR}/devel/p5-ExtUtils-CBuilder -RUN_DEPENDS= p5-Attribute-Handlers>=0.79:${PORTSDIR}/devel/p5-Attribute-Handlers - PERL_MODBUILD= yes MAN3= Attribute::Params::Validate.3 Params::ValidateXS.3 \ Params::ValidatePP.3 Params::Validate.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501000 +RUN_DEPENDS+= p5-Attribute-Handlers>=0.79:${PORTSDIR}/devel/p5-Attribute-Handlers +BUILD_DEPENDS+= p5-Attribute-Handlers>=0.79:${PORTSDIR}/devel/p5-Attribute-Handlers +.endif + +.include <bsd.port.post.mk> |