From 2e075c95adc4a8f9d8c4842602be071ef9fa3264 Mon Sep 17 00:00:00 2001 From: sunpoet Date: Sat, 17 Jun 2017 10:02:27 +0000 Subject: Add PERL_LEVEL check - Bump PORTREVISION for dependency change --- math/p5-Math-String/Makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'math') diff --git a/math/p5-Math-String/Makefile b/math/p5-Math-String/Makefile index 91b610780e53..4590d1e9684b 100644 --- a/math/p5-Math-String/Makefile +++ b/math/p5-Math-String/Makefile @@ -3,6 +3,7 @@ PORTNAME= Math-String PORTVERSION= 1.29 +PORTREVISION= 1 CATEGORIES= math perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -13,11 +14,15 @@ COMMENT= Perl module to calculate with strings as if they were big integers LICENSE= ART10 GPLv1 LICENSE_COMB= dual -BUILD_DEPENDS= p5-Math-BigInt>=1.999802:math/p5-Math-BigInt -RUN_DEPENDS:= ${BUILD_DEPENDS} - NO_ARCH= yes USES= perl5 USE_PERL5= configure -.include +.include + +.if ${PERL_LEVEL} < 502508 +BUILD_DEPENDS+= p5-Math-BigInt>=1.999802:math/p5-Math-BigInt +RUN_DEPENDS+= p5-Math-BigInt>=1.999802:math/p5-Math-BigInt +.endif + +.include -- cgit