From owner-svn-ports-head@FreeBSD.ORG Tue May 19 16:24:42 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 979CB1E2; Tue, 19 May 2015 16:24:42 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 866501368; Tue, 19 May 2015 16:24:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4JGOg47039777; Tue, 19 May 2015 16:24:42 GMT (envelope-from adamw@FreeBSD.org) Received: (from adamw@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4JGOgFE039776; Tue, 19 May 2015 16:24:42 GMT (envelope-from adamw@FreeBSD.org) Message-Id: <201505191624.t4JGOgFE039776@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: adamw set sender to adamw@FreeBSD.org using -f From: Adam Weinberger Date: Tue, 19 May 2015 16:24:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386790 - head/devel/p5-Module-Build X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 16:24:42 -0000 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 + +.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 +.include