From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 10 01:30:30 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4956516A4D3 for ; Tue, 10 Aug 2004 01:30:30 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3157D43D5F for ; Tue, 10 Aug 2004 01:30:29 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i7A1UQsk087514 for ; Tue, 10 Aug 2004 01:30:26 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7A1UQr6087499; Tue, 10 Aug 2004 01:30:26 GMT (envelope-from gnats) Resent-Date: Tue, 10 Aug 2004 01:30:26 GMT Resent-Message-Id: <200408100130.i7A1UQr6087499@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yen-Ming Lee Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E213716A4CE; Tue, 10 Aug 2004 01:23:46 +0000 (GMT) Received: from utopia.leeym.com (utopia.leeym.com [211.21.137.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D08C43D2F; Tue, 10 Aug 2004 01:23:46 +0000 (GMT) (envelope-from leeym@utopia.leeym.com) Received: from localhost (localhost [127.0.0.1]) by utopia.leeym.com (Postfix) with ESMTP id 73A1B3EA7B4; Tue, 10 Aug 2004 09:23:45 +0800 (CST) Received: from utopia.leeym.com ([127.0.0.1]) by localhost (utopia.leeym.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 86559-09; Tue, 10 Aug 2004 09:23:22 +0800 (CST) Received: by utopia.leeym.com (Postfix, from userid 1000) id A03CB3EA7A1; Tue, 10 Aug 2004 09:23:17 +0800 (CST) Message-Id: <20040810012317.A03CB3EA7A1@utopia.leeym.com> Date: Tue, 10 Aug 2004 09:23:17 +0800 (CST) From: Yen-Ming Lee To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: demon@FreeBSD.org Subject: ports/70233: [PATCH] devel/p5-Test-Harness: skip prove under perl 5.8 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Aug 2004 01:30:30 -0000 >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 -.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 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: