From leeym@utopia.leeym.com  Tue Apr 25 08:15:48 2006
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 8294716A400
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 25 Apr 2006 08:15:48 +0000 (UTC)
	(envelope-from leeym@utopia.leeym.com)
Received: from msr16.hinet.net (msr16.hinet.net [168.95.4.116])
	by mx1.FreeBSD.org (Postfix) with ESMTP id C674E43D45
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 25 Apr 2006 08:15:47 +0000 (GMT)
	(envelope-from leeym@utopia.leeym.com)
Received: from utopia.leeym.com (utopia.leeym.com [211.21.137.52])
	by msr16.hinet.net (8.9.3/8.9.3) with ESMTP id QAA04913;
	Tue, 25 Apr 2006 16:15:44 +0800 (CST)
Received: from localhost (localhost [127.0.0.1])
	by utopia.leeym.com (Postfix) with ESMTP id 201F4B29CAE;
	Tue, 25 Apr 2006 16:15:43 +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 fWdHg2Ki1Dt4; Tue, 25 Apr 2006 16:15:34 +0800 (CST)
Received: by utopia.leeym.com (Postfix, from userid 1000)
	id 83B0AB29CAB; Tue, 25 Apr 2006 16:15:34 +0800 (CST)
Message-Id: <20060425081534.83B0AB29CAB@utopia.leeym.com>
Date: Tue, 25 Apr 2006 16:15:34 +0800 (CST)
From: Yen-Ming Lee <leeym@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: ports@rbt.ca
Subject: [PATCH] devel/p5-Test-File-Contents: unbreak
X-Send-Pr-Version: 3.113
X-GNATS-Notify: ports@rbt.ca

>Number:         96305
>Category:       ports
>Synopsis:       [PATCH] devel/p5-Test-File-Contents: unbreak
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 25 08:20:18 GMT 2006
>Closed-Date:    Tue Apr 25 20:12:30 GMT 2006
>Last-Modified:  Tue Apr 25 20:12:30 GMT 2006
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 6.1-RC i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 6.1-RC FreeBSD 6.1-RC #0: Tue Apr 11 08:54:13 CST 2006
>Description:
- unbreak under old perl

Port maintainer (ports@rbt.ca) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- p5-Test-File-Contents-0.03.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-Test-File-Contents/Makefile,v
retrieving revision 1.3
diff -u -u -r1.3 Makefile
--- Makefile	22 Apr 2006 10:20:22 -0000	1.3
+++ Makefile	25 Apr 2006 08:15:04 -0000
@@ -15,7 +15,9 @@
 MAINTAINER=	ports@rbt.ca
 COMMENT=	Test routines for examining the contents of files
 
-BUILD_DEPENDS=	${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5
+BUILD_DEPENDS=	${RUN_DEPENDS}
+BUILD_DEPENDS+=	${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
 
 PERL_MODBUILD=	yes
 
@@ -24,7 +26,9 @@
 .include <bsd.port.pre.mk>
 
 .if ${PERL_LEVEL} < 500600
-IGNORE=	requires perl 5.6.0 or higher. Please install lang/perl5.8 and try again
+post-patch:
+	${PERL} -pi -e '$$_ = "" if m{use warnings};' ${WRKSRC}/Build.PL \
+		${WRKSRC}/lib/Test/File/Contents.pm
 .endif
 
 .include <bsd.port.post.mk>
--- p5-Test-File-Contents-0.03.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Apr 25 08:24:07 UTC 2006 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96305 

From: Rod Taylor <ports@rbt.ca>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/96305: [PATCH] devel/p5-Test-File-Contents: unbreak
Date: Tue, 25 Apr 2006 09:20:29 -0400

 On Tue, 2006-04-25 at 08:24 +0000, Edwin Groothuis wrote:
 > Maintainer of devel/p5-Test-File-Contents,
 > 
 > Please note that PR ports/96305 has just been submitted.
 > 
 > If it contains a patch for an upgrade, an enhancement or a bug fix
 > you agree on, reply to this email stating that you approve the patch
 > and a committer will take care of it.
 > 
 > The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/96305
 
 
 Approved. Please apply.
 
 That said, the main use of the port seems to be for Bricolage and it
 requires 5.8 or later anyway.
 
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Tue Apr 25 14:56:17 UTC 2006 
State-Changed-Why:  
Maintainer approved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=96305 
State-Changed-From-To: open->closed 
State-Changed-By: leeym 
State-Changed-When: Tue Apr 25 20:12:29 UTC 2006 
State-Changed-Why:  
Committed, thanks. 

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