svn commit: r357049 - head/devel/p5-List-AllUtils

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Jun 8 16:11:56 UTC 2014


Author: sunpoet
Date: Sun Jun  8 16:11:55 2014
New Revision: 357049
URL: http://svnweb.freebsd.org/changeset/ports/357049
QAT: https://qat.redports.org/buildarchive/r357049/

Log:
  - Update *_DEPENDS for Perl 5.20
  - Bump PORTREVISION for dependency change
  
  PR:		ports/190789
  Submitted by:	sunpoet (myself)
  Approved by:	Gea-Suan Lin <gslin at gslin.org> (maintainer)

Modified:
  head/devel/p5-List-AllUtils/Makefile

Modified: head/devel/p5-List-AllUtils/Makefile
==============================================================================
--- head/devel/p5-List-AllUtils/Makefile	Sun Jun  8 16:04:21 2014	(r357048)
+++ head/devel/p5-List-AllUtils/Makefile	Sun Jun  8 16:11:55 2014	(r357049)
@@ -2,6 +2,7 @@
 
 PORTNAME=	List-AllUtils
 PORTVERSION=	0.08
+PORTREVISION=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -11,13 +12,18 @@ COMMENT=	Combines List::Util and List::M
 
 LICENSE=	ART20
 
-# As of Perl 5.18, List::Util in core are earlier than 1.31
-BUILD_DEPENDS=	p5-List-MoreUtils>=0.28:${PORTSDIR}/lang/p5-List-MoreUtils \
-		p5-Scalar-List-Utils>=1.31:${PORTSDIR}/lang/p5-Scalar-List-Utils
+BUILD_DEPENDS=	p5-List-MoreUtils>=0.28:${PORTSDIR}/lang/p5-List-MoreUtils
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 TEST_DEPENDS=	p5-Test-Warnings>=0:${PORTSDIR}/devel/p5-Test-Warnings
 
 USES=		perl5
 USE_PERL5=	configure
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502000
+BUILD_DEPENDS+=	p5-Scalar-List-Utils>=1.31:${PORTSDIR}/lang/p5-Scalar-List-Utils
+RUN_DEPENDS+=	p5-Scalar-List-Utils>=1.31:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+
+.include <bsd.port.post.mk>


More information about the svn-ports-head mailing list