svn commit: r443760 - head/math/p5-bignum

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Jun 17 10:02:34 UTC 2017


Author: sunpoet
Date: Sat Jun 17 10:02:32 2017
New Revision: 443760
URL: https://svnweb.freebsd.org/changeset/ports/443760

Log:
  Add PERL_LEVEL check
  
  - Bump PORTREVISION for dependency change

Modified:
  head/math/p5-bignum/Makefile

Modified: head/math/p5-bignum/Makefile
==============================================================================
--- head/math/p5-bignum/Makefile	Sat Jun 17 10:02:27 2017	(r443759)
+++ head/math/p5-bignum/Makefile	Sat Jun 17 10:02:32 2017	(r443760)
@@ -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
 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>


More information about the svn-ports-all mailing list