svn commit: r303844 - head/devel/p5-ExtUtils-MakeMaker
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Sep 7 23:36:21 UTC 2012
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 at 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
More information about the svn-ports-all
mailing list