Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Sep 2012 23:33:09 +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: r303842 - head/devel/p5-CPAN-Meta
Message-ID:  <201209072333.q87NX9Jl082890@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Sep  7 23:33:08 2012
New Revision: 303842
URL: http://svn.freebsd.org/changeset/ports/303842

Log:
  - Fix *_DEPENDS: p5-JSON-PP >= 2.27200 is already in Perl 5.16.0+

Modified:
  head/devel/p5-CPAN-Meta/Makefile   (contents, props changed)

Modified: head/devel/p5-CPAN-Meta/Makefile
==============================================================================
--- head/devel/p5-CPAN-Meta/Makefile	Fri Sep  7 23:27:52 2012	(r303841)
+++ head/devel/p5-CPAN-Meta/Makefile	Fri Sep  7 23:33:08 2012	(r303842)
@@ -19,11 +19,9 @@ 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-JSON-PP>=2.27200:${PORTSDIR}/converters/p5-JSON-PP \
 		p5-Parse-CPAN-Meta>=1.44.03:${PORTSDIR}/devel/p5-Parse-CPAN-Meta
 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 \
-		p5-JSON-PP>=2.27200:${PORTSDIR}/converters/p5-JSON-PP \
 		p5-Parse-CPAN-Meta>=1.44.03:${PORTSDIR}/devel/p5-Parse-CPAN-Meta
 
 PERL_CONFIGURE=	yes
@@ -47,4 +45,9 @@ BUILD_DEPENDS+=	p5-version>=0.88:${PORTS
 RUN_DEPENDS+=	p5-version>=0.88:${PORTSDIR}/devel/p5-version
 .endif
 
+.if ${PERL_LEVEL} < 501600
+BUILD_DEPENDS+=	p5-JSON-PP>=2.27200:${PORTSDIR}/converters/p5-JSON-PP
+RUN_DEPENDS+=	p5-JSON-PP>=2.27200:${PORTSDIR}/converters/p5-JSON-PP
+.endif
+
 .include <bsd.port.post.mk>



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