Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jun 2014 16:11:55 +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: r357049 - head/devel/p5-List-AllUtils
Message-ID:  <201406081611.s58GBteU060640@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



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