Add PERL_LEVEL check
- Bump PORTREVISION for dependency change
This commit is contained in:
parent
6846048075
commit
b7fd1d6e3c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=443760
1 changed files with 9 additions and 4 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue