Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2021 07:10:05 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e8c96e010549 - main - devel/p5-Test2-Plugin-IOEvents: Add PERL_LEVEL check
Message-ID:  <202104180710.13I7A5p5098020@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e8c96e0105495eac2598a13b132af9a85af68a08

commit e8c96e0105495eac2598a13b132af9a85af68a08
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-04-18 04:59:06 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-04-18 05:42:31 +0000

    devel/p5-Test2-Plugin-IOEvents: Add PERL_LEVEL check
    
    - Bump PORTREVISION for dependency change
---
 devel/p5-Test2-Plugin-IOEvents/Makefile | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/devel/p5-Test2-Plugin-IOEvents/Makefile b/devel/p5-Test2-Plugin-IOEvents/Makefile
index c24d3b9dddcb..6f025d7987f4 100644
--- a/devel/p5-Test2-Plugin-IOEvents/Makefile
+++ b/devel/p5-Test2-Plugin-IOEvents/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	Test2-Plugin-IOEvents
 PORTVERSION=	0.001001
+PORTREVISION=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	CPAN:EXODIST
@@ -14,8 +15,6 @@ LICENSE=	ART10 GPLv1+
 LICENSE_COMB=	dual
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${RUN_DEPENDS}
-RUN_DEPENDS=	p5-Test-Simple>=1.302165:devel/p5-Test-Simple
 TEST_DEPENDS=	p5-Test2-Suite>=0.000124:devel/p5-Test2-Suite
 
 USES=		perl5
@@ -23,4 +22,11 @@ USE_PERL5=	configure
 
 NO_ARCH=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 503200
+BUILD_DEPENDS+=	p5-Test-Simple>=1.302165:devel/p5-Test-Simple
+RUN_DEPENDS+=	p5-Test-Simple>=1.302165:devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>



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