Date: Tue, 10 Aug 2004 09:23:17 +0800 (CST) From: Yen-Ming Lee <leeym@utopia.leeym.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: demon@FreeBSD.org Subject: ports/70233: [PATCH] devel/p5-Test-Harness: skip prove under perl 5.8 Message-ID: <20040810012317.A03CB3EA7A1@utopia.leeym.com> Resent-Message-ID: <200408100130.i7A1UQr6087499@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 70233 >Category: ports >Synopsis: [PATCH] devel/p5-Test-Harness: skip prove under perl 5.8 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Aug 10 01:30:26 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 5.2.1-RELEASE-p9 i386 >Organization: >Environment: System: FreeBSD utopia.leeym.com 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #167: Tue Jul 27 05:17:58 CST 2004 >Description: [DESCRIBE CHANGES] bin/prove is included with perl 5.8, so skip bin/prove and its manpage. Port maintainer (demon@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- p5-Test-Harness-2.42_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/p5-Test-Harness/Makefile,v retrieving revision 1.17 diff -u -u -r1.17 Makefile --- Makefile 8 Jun 2004 03:29:31 -0000 1.17 +++ Makefile 10 Aug 2004 01:21:01 -0000 @@ -7,6 +7,7 @@ PORTNAME= Test-Harness PORTVERSION= 2.42 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Test @@ -22,14 +23,22 @@ MAN3= Test::Harness.3 Test::Harness::Assert.3 \ Test::Harness::Iterator.3 Test::Harness::Straps.3 -post-patch: - ${PERL} -pi -e 'm.INSTALLDIRS.&&s,.,,sg' ${WRKSRC}/Makefile.PL - .include <bsd.port.pre.mk> -.if ${PERL_LEVEL} < 500601 -BUILD_DEPENDS= ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser -RUN_DEPENDS= ${BUILD_DEPENDS} +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-PodParser +RUN_DEPENDS+= ${BUILD_DEPENDS} +.endif + +.if ${PERL_LEVEL} >= 500800 +.undef MAN1 +PLIST_SUB+= PL_FILES="@comment " +.endif + +post-patch: + @${PERL} -pi -e 'm.INSTALLDIRS. && s,.,,sg' ${WRKSRC}/Makefile.PL +.if ${PERL_LEVEL} >= 500800 + @${PERL} -pi -e 'm.EXE_FILES. && s,.,,sg' ${WRKSRC}/Makefile.PL .endif .include <bsd.port.post.mk> Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/devel/p5-Test-Harness/pkg-plist,v retrieving revision 1.5 diff -u -u -r1.5 pkg-plist --- pkg-plist 20 Dec 2003 09:13:33 -0000 1.5 +++ pkg-plist 10 Aug 2004 01:21:01 -0000 @@ -1,4 +1,4 @@ -bin/prove +%%PL_FILES%%bin/prove %%SITE_PERL%%/Test/Harness.pm %%SITE_PERL%%/Test/Harness/Assert.pm %%SITE_PERL%%/Test/Harness/Iterator.pm --- p5-Test-Harness-2.42_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040810012317.A03CB3EA7A1>