Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Aug 2014 15:01:29 +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: r365085 - head/devel/p5-CPAN-Meta
Message-ID:  <201408161501.s7GF1T0M089082@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Aug 16 15:01:29 2014
New Revision: 365085
URL: http://svnweb.freebsd.org/changeset/ports/365085
QAT: https://qat.redports.org/buildarchive/r365085/

Log:
  - Fix *_DEPENDS
  - Bump PORTREVISION for dependency change
  
  Reported by:	leeym

Modified:
  head/devel/p5-CPAN-Meta/Makefile

Modified: head/devel/p5-CPAN-Meta/Makefile
==============================================================================
--- head/devel/p5-CPAN-Meta/Makefile	Sat Aug 16 14:58:34 2014	(r365084)
+++ head/devel/p5-CPAN-Meta/Makefile	Sat Aug 16 15:01:29 2014	(r365085)
@@ -3,6 +3,7 @@
 
 PORTNAME=	CPAN-Meta
 PORTVERSION=	2.142060
+PORTREVISION=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -13,11 +14,6 @@ COMMENT=	The distribution metadata for a
 LICENSE=	ART10 GPLv1
 LICENSE_COMB=	dual
 
-BUILD_DEPENDS=	p5-CPAN-Meta-Requirements>=2.121:${PORTSDIR}/devel/p5-CPAN-Meta-Requirements \
-		p5-CPAN-Meta-YAML>=0.008:${PORTSDIR}/devel/p5-CPAN-Meta-YAML \
-		p5-Parse-CPAN-Meta>=1.44.03:${PORTSDIR}/devel/p5-Parse-CPAN-Meta
-RUN_DEPENDS:=	${BUILD_DEPENDS}
-
 USE_PERL5=	configure
 USES=		perl5
 
@@ -28,4 +24,16 @@ BUILD_DEPENDS+=	p5-JSON-PP>=2.27200:${PO
 RUN_DEPENDS+=	p5-JSON-PP>=2.27200:${PORTSDIR}/converters/p5-JSON-PP
 .endif
 
+.if ${PERL_LEVEL} < 501800
+BUILD_DEPENDS+=	p5-CPAN-Meta-Requirements>=2.121:${PORTSDIR}/devel/p5-CPAN-Meta-Requirements \
+		p5-CPAN-Meta-YAML>=0.008:${PORTSDIR}/devel/p5-CPAN-Meta-YAML
+RUN_DEPENDS+=	p5-CPAN-Meta-Requirements>=2.121:${PORTSDIR}/devel/p5-CPAN-Meta-Requirements \
+		p5-CPAN-Meta-YAML>=0.008:${PORTSDIR}/devel/p5-CPAN-Meta-YAML
+.endif
+
+.if ${PERL_LEVEL} < 502000
+BUILD_DEPENDS+=	p5-Parse-CPAN-Meta>=1.44.14:${PORTSDIR}/devel/p5-Parse-CPAN-Meta
+RUN_DEPENDS+=	p5-Parse-CPAN-Meta>=1.44.14:${PORTSDIR}/devel/p5-Parse-CPAN-Meta
+.endif
+
 .include <bsd.port.post.mk>



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