- Align PERL_LEVEL check to supported Perl releases

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2012-04-10 16:54:43 +00:00
parent 656547c80e
commit 31a8cd9e62
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=294544

View file

@ -14,12 +14,12 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Stream a highly accurate breadth first data dump in Perl code
RUN_DEPENDS= p5-Algorithm-Diff>=0:${PORTSDIR}/devel/p5-Algorithm-Diff \
BUILD_DEPENDS= p5-Algorithm-Diff>=0:${PORTSDIR}/devel/p5-Algorithm-Diff \
p5-B-Utils>=0:${PORTSDIR}/devel/p5-B-Utils \
p5-ExtUtils-Depends>=0:${PORTSDIR}/devel/p5-ExtUtils-Depends \
p5-JSON-XS>=0:${PORTSDIR}/converters/p5-JSON-XS \
p5-PadWalker>=0.99:${PORTSDIR}/devel/p5-PadWalker
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS:= ${BUILD_DEPENDS}
CONFIGURE_ARGS= DDS
PERL_MODBUILD= yes
@ -28,8 +28,9 @@ MAN3= Data::Dump::Streamer.3 DDS.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500903
RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
.if ${PERL_LEVEL} < 501000
BUILD_DEPENDS+= p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress
RUN_DEPENDS+= p5-IO-Compress>=0:${PORTSDIR}/archivers/p5-IO-Compress
.endif
.include <bsd.port.post.mk>