aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-06-17 18:02:32 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-06-17 18:02:32 +0800
commit8ae164d5f4e49931b0aacf910d56884e58dd5daa (patch)
treeab502e00af1e398a06236294def42a122d6c9a6f /math
parent2e075c95adc4a8f9d8c4842602be071ef9fa3264 (diff)
downloadfreebsd-ports-gnome-8ae164d5f4e49931b0aacf910d56884e58dd5daa.tar.gz
freebsd-ports-gnome-8ae164d5f4e49931b0aacf910d56884e58dd5daa.tar.zst
freebsd-ports-gnome-8ae164d5f4e49931b0aacf910d56884e58dd5daa.zip
Add PERL_LEVEL check
- Bump PORTREVISION for dependency change
Diffstat (limited to 'math')
-rw-r--r--math/p5-bignum/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/math/p5-bignum/Makefile b/math/p5-bignum/Makefile
index f064ee566ab1..d449660fe57c 100644
--- a/math/p5-bignum/Makefile
+++ b/math/p5-bignum/Makefile
@@ -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>