Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jun 2017 23:42:53 +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: r444157 - head/www/p5-Dancer2
Message-ID:  <201706222342.v5MNgrjg094251@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Jun 22 23:42:53 2017
New Revision: 444157
URL: https://svnweb.freebsd.org/changeset/ports/444157

Log:
  Add PERL_LEVEL check
  
  - Bump PORTREVISION for dependency change

Modified:
  head/www/p5-Dancer2/Makefile

Modified: head/www/p5-Dancer2/Makefile
==============================================================================
--- head/www/p5-Dancer2/Makefile	Thu Jun 22 23:42:48 2017	(r444156)
+++ head/www/p5-Dancer2/Makefile	Thu Jun 22 23:42:53 2017	(r444157)
@@ -3,6 +3,7 @@
 
 PORTNAME=	Dancer2
 PORTVERSION=	0.205000
+PORTREVISION=	1
 CATEGORIES=	www perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -18,7 +19,6 @@ BUILD_DEPENDS=	p5-App-Cmd>=0:devel/p5-App-Cmd \
 		p5-Capture-Tiny>=0.12:devel/p5-Capture-Tiny \
 		p5-Crypt-URandom>=0:security/p5-Crypt-URandom \
 		p5-Config-Any>=0:devel/p5-Config-Any \
-		p5-ExtUtils-MakeMaker>=7.12:devel/p5-ExtUtils-MakeMaker \
 		p5-File-ShareDir-Install>=0.06:devel/p5-File-ShareDir-Install \
 		p5-Hash-Merge-Simple>=0:devel/p5-Hash-Merge-Simple \
 		p5-HTTP-Body>=0:www/p5-HTTP-Body \
@@ -69,4 +69,11 @@ NO_ARCH=	yes
 USES=		perl5
 USE_PERL5=	configure
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502502
+BUILD_DEPENDS+=	p5-ExtUtils-MakeMaker>=7.12:devel/p5-ExtUtils-MakeMaker
+RUN_DEPENDS+=	p5-ExtUtils-MakeMaker>=7.12:devel/p5-ExtUtils-MakeMaker
+.endif
+
+.include <bsd.port.post.mk>



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