Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jun 2017 10:02:23 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r443758 - head/math/p5-Math-BigInt-Lite
Message-ID:  <201706171002.v5HA2NBn084699@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Jun 17 10:02:23 2017
New Revision: 443758
URL: https://svnweb.freebsd.org/changeset/ports/443758

Log:
  Add PERL_LEVEL check
  
  - Bump PORTREVISION for dependency change

Modified:
  head/math/p5-Math-BigInt-Lite/Makefile

Modified: head/math/p5-Math-BigInt-Lite/Makefile
==============================================================================
--- head/math/p5-Math-BigInt-Lite/Makefile	Sat Jun 17 10:02:18 2017	(r443757)
+++ head/math/p5-Math-BigInt-Lite/Makefile	Sat Jun 17 10:02:23 2017	(r443758)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706171002.v5HA2NBn084699>