Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Sep 2012 23:36:20 +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: r303844 - head/devel/p5-ExtUtils-MakeMaker
Message-ID:  <201209072336.q87NaKms083375@svn.freebsd.org>

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

Log:
  - Fix *_DEPENDS: p5-CPAN-Meta >= 2.112150 is already in Perl 5.16.0+

Modified:
  head/devel/p5-ExtUtils-MakeMaker/Makefile   (contents, props changed)

Modified: head/devel/p5-ExtUtils-MakeMaker/Makefile
==============================================================================
--- head/devel/p5-ExtUtils-MakeMaker/Makefile	Fri Sep  7 23:35:52 2012	(r303843)
+++ head/devel/p5-ExtUtils-MakeMaker/Makefile	Fri Sep  7 23:36:20 2012	(r303844)
@@ -14,9 +14,6 @@ PKGNAMEPREFIX=	p5-
 MAINTAINER=	perl@FreeBSD.org
 COMMENT=	Designed to write a Makefile for an extension module
 
-BUILD_DEPENDS=	p5-CPAN-Meta>=2.112150:${PORTSDIR}/devel/p5-CPAN-Meta
-RUN_DEPENDS=	p5-CPAN-Meta>=2.112150:${PORTSDIR}/devel/p5-CPAN-Meta
-
 PERL_CONFIGURE=	yes
 
 MAN3=		ExtUtils::Command::MM.3 ExtUtils::Liblist.3 ExtUtils::MM.3 \
@@ -46,6 +43,11 @@ RUN_DEPENDS+=	p5-ExtUtils-Manifest>=1.58
 		p5-version>=0.88:${PORTSDIR}/devel/p5-version
 .endif
 
+.if ${PERL_LEVEL} < 501600
+BUILD_DEPENDS+=	p5-CPAN-Meta>=2.112150:${PORTSDIR}/devel/p5-CPAN-Meta
+RUN_DEPENDS+=	p5-CPAN-Meta>=2.112150:${PORTSDIR}/devel/p5-CPAN-Meta
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e '/EXE_FILES/d; /my::bundles/d' ${WRKSRC}/Makefile.PL
 	@${REINPLACE_CMD} -e '/^bundled\//d' ${WRKSRC}/MANIFEST



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