aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-06-17 18:02:23 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-06-17 18:02:23 +0800
commitd1b982ce13c451979b3352f1c24e279125b74753 (patch)
treed5e504eef7079468e4e7d8a48df5d0dba4377e57
parenta8b588727eab87d907982c80f2c4282d0db75645 (diff)
downloadfreebsd-ports-gnome-d1b982ce13c451979b3352f1c24e279125b74753.tar.gz
freebsd-ports-gnome-d1b982ce13c451979b3352f1c24e279125b74753.tar.zst
freebsd-ports-gnome-d1b982ce13c451979b3352f1c24e279125b74753.zip
Add PERL_LEVEL check
- Bump PORTREVISION for dependency change
-rw-r--r--math/p5-Math-BigInt-Lite/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/math/p5-Math-BigInt-Lite/Makefile b/math/p5-Math-BigInt-Lite/Makefile
index 0a1208c78d82..4c327a832808 100644
--- a/math/p5-Math-BigInt-Lite/Makefile
+++ b/math/p5-Math-BigInt-Lite/Makefile
@@ -3,6 +3,7 @@
PORTNAME= Math-BigInt-Lite
PORTVERSION= 0.17
+PORTREVISION= 1
CATEGORIES= math perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,11 +15,15 @@ LICENSE= ART10 GPLv1
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= p5-Math-BigInt>=1.999801:math/p5-Math-BigInt
-RUN_DEPENDS:= ${BUILD_DEPENDS}
-
NO_ARCH= yes
USE_PERL5= configure
USES= perl5
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502508
+BUILD_DEPENDS+= p5-Math-BigInt>=1.999801:math/p5-Math-BigInt
+RUN_DEPENDS+= p5-Math-BigInt>=1.999801:math/p5-Math-BigInt
+.endif
+
+.include <bsd.port.post.mk>