Date: Tue, 19 May 2015 16:24:42 +0000 (UTC) From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386790 - head/devel/p5-Module-Build Message-ID: <201505191624.t4JGOgFE039776@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adamw Date: Tue May 19 16:24:41 2015 New Revision: 386790 URL: https://svnweb.freebsd.org/changeset/ports/386790 Log: Only depend on p5-CPAN-Meta for perl <= 5.21.4. While here, remove the OPTIONS_DEFINE that wasn't used. Modified: head/devel/p5-Module-Build/Makefile Modified: head/devel/p5-Module-Build/Makefile ============================================================================== --- head/devel/p5-Module-Build/Makefile Tue May 19 16:23:11 2015 (r386789) +++ head/devel/p5-Module-Build/Makefile Tue May 19 16:24:41 2015 (r386790) @@ -17,21 +17,24 @@ COMMENT= Build and install Perl modules LICENSE= ART10 GPLv1 LICENSE_COMB= dual -BUILD_DEPENDS= p5-CPAN-Meta>=2.142060:${PORTSDIR}/devel/p5-CPAN-Meta -RUN_DEPENDS:= ${BUILD_DEPENDS} TEST_DEPENDS= p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip \ p5-PAR-Dist>=0.17:${PORTSDIR}/devel/p5-PAR-Dist -OPTIONS_DEFINE= DOCS - PORTSCOUT= skipv:0.31011,0.31012 USES= perl5 USE_PERL5= modbuild +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 502105 +BUILD_DEPENDS+= p5-CPAN-Meta>=2.142060:${PORTSDIR}/devel/p5-CPAN-Meta +RUN_DEPENDS:= ${BUILD_DEPENDS} +.endif + post-patch: @${RM} -f ${WRKSRC}/bin/config_data @${REINPLACE_CMD} -e '/script_files/d' ${WRKSRC}/Build.PL @${REINPLACE_CMD} -e '/^bin\/config_data/d' ${WRKSRC}/MANIFEST -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505191624.t4JGOgFE039776>