From leeym@utopia.leeym.com  Tue Aug 10 01:23:46 2004
Return-Path: <leeym@utopia.leeym.com>
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 <leeym@utopia.leeym.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: demon@FreeBSD.org
Subject: [PATCH] devel/p5-Test-Harness: skip prove under perl 5.8
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         70233
>Category:       ports
>Synopsis:       [PATCH] devel/p5-Test-Harness: skip prove under perl 5.8
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    demon
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 10 01:30:26 GMT 2004
>Closed-Date:    Tue Mar 01 18:17:46 GMT 2005
>Last-Modified:  Tue Mar 01 18:17:46 GMT 2005
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->demon 
Responsible-Changed-By: leeym 
Responsible-Changed-When: Tue Aug 10 04:23:52 GMT 2004 
Responsible-Changed-Why:  
Over to the maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70233 
State-Changed-From-To: open->closed 
State-Changed-By: leeym 
State-Changed-When: Tue Mar 1 18:17:45 GMT 2005 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70233 
>Unformatted:
