aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-06-17 18:02:27 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-06-17 18:02:27 +0800
commit2e075c95adc4a8f9d8c4842602be071ef9fa3264 (patch)
treeee2e50b813e31ecafe1194ff4717b1850acbb68b /math
parentd1b982ce13c451979b3352f1c24e279125b74753 (diff)
downloadfreebsd-ports-gnome-2e075c95adc4a8f9d8c4842602be071ef9fa3264.tar.gz
freebsd-ports-gnome-2e075c95adc4a8f9d8c4842602be071ef9fa3264.tar.zst
freebsd-ports-gnome-2e075c95adc4a8f9d8c4842602be071ef9fa3264.zip
Add PERL_LEVEL check
- Bump PORTREVISION for dependency change
Diffstat (limited to 'math')
-rw-r--r--math/p5-Math-String/Makefile13
1 files changed, 9 insertions, 4 deletions
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 <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.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 <bsd.port.post.mk>