diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-06-08 16:11:55 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-06-08 16:11:55 +0000 |
commit | 0b16c8399ef4519f211bcd2465d42409b10c2720 (patch) | |
tree | b96fde6c0ffcf9447daa88c5010f40ec9052569a | |
parent | 33a8b408555161ec23b4b7435cfb5f6d8be889bc (diff) | |
download | freebsd-ports-0b16c8399ef4519f211bcd2465d42409b10c2720.zip |
- Update *_DEPENDS for Perl 5.20
- Bump PORTREVISION for dependency change
PR: ports/190789
Submitted by: sunpoet (myself)
Approved by: Gea-Suan Lin <gslin@gslin.org> (maintainer)
-rw-r--r-- | devel/p5-List-AllUtils/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/devel/p5-List-AllUtils/Makefile b/devel/p5-List-AllUtils/Makefile index c1e0f9f3b25b..0c858140f07a 100644 --- a/devel/p5-List-AllUtils/Makefile +++ b/devel/p5-List-AllUtils/Makefile @@ -2,6 +2,7 @@ PORTNAME= List-AllUtils PORTVERSION= 0.08 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -11,13 +12,18 @@ COMMENT= Combines List::Util and List::MoreUtils in one bite-sized package LICENSE= ART20 -# As of Perl 5.18, List::Util in core are earlier than 1.31 -BUILD_DEPENDS= p5-List-MoreUtils>=0.28:${PORTSDIR}/lang/p5-List-MoreUtils \ - p5-Scalar-List-Utils>=1.31:${PORTSDIR}/lang/p5-Scalar-List-Utils +BUILD_DEPENDS= p5-List-MoreUtils>=0.28:${PORTSDIR}/lang/p5-List-MoreUtils RUN_DEPENDS:= ${BUILD_DEPENDS} TEST_DEPENDS= p5-Test-Warnings>=0:${PORTSDIR}/devel/p5-Test-Warnings USES= perl5 USE_PERL5= configure -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 502000 +BUILD_DEPENDS+= p5-Scalar-List-Utils>=1.31:${PORTSDIR}/lang/p5-Scalar-List-Utils +RUN_DEPENDS+= p5-Scalar-List-Utils>=1.31:${PORTSDIR}/lang/p5-Scalar-List-Utils +.endif + +.include <bsd.port.post.mk> |