Add PERL_LEVEL check

- Bump PORTREVISION for dependency change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-06-17 10:02:32 +00:00
parent 6846048075
commit b7fd1d6e3c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=443760

View file

@ -2,6 +2,7 @@
PORTNAME= bignum
PORTVERSION= 0.47
PORTREVISION= 1
CATEGORIES= math perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:PJACKLAM
@ -13,11 +14,15 @@ COMMENT= Transparent BigNumber/BigRational support for Perl
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Math-BigInt>=1.999718:math/p5-Math-BigInt
RUN_DEPENDS:= ${BUILD_DEPENDS}
NO_ARCH= yes
USES= perl5
USE_PERL5= configure
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 502503
BUILD_DEPENDS+= p5-Math-BigInt>=1.999718:math/p5-Math-BigInt
RUN_DEPENDS+= p5-Math-BigInt>=1.999718:math/p5-Math-BigInt
.endif
.include <bsd.port.post.mk>