From leeym@utopia.leeym.com  Thu Dec 22 07:30:30 2005
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 D7A8716A41F;
	Thu, 22 Dec 2005 07:30:30 +0000 (GMT)
	(envelope-from leeym@utopia.leeym.com)
Received: from msr2.hinet.net (msr2.hinet.net [168.95.4.102])
	by mx1.FreeBSD.org (Postfix) with ESMTP id D04B543D45;
	Thu, 22 Dec 2005 07:30:29 +0000 (GMT)
	(envelope-from leeym@utopia.leeym.com)
Received: from utopia.leeym.com (arcadia.leeym.com [211.21.137.53])
	by msr2.hinet.net (8.9.3/8.9.3) with ESMTP id PAA12335;
	Thu, 22 Dec 2005 15:30:26 +0800 (CST)
Received: from localhost (localhost [127.0.0.1])
	by utopia.leeym.com (Postfix) with ESMTP id 45F19B29E15;
	Thu, 22 Dec 2005 15:30:25 +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 08066-10; Thu, 22 Dec 2005 15:30:19 +0800 (CST)
Received: by utopia.leeym.com (Postfix, from userid 1000)
	id C8CAEB29E28; Thu, 22 Dec 2005 15:30:19 +0800 (CST)
Message-Id: <20051222073019.C8CAEB29E28@utopia.leeym.com>
Date: Thu, 22 Dec 2005 15:30:19 +0800 (CST)
From: Yen-Ming Lee <leeym@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: skv@freebsd.org
Subject: [PATCH] textproc/p5-podlators: bugfix and unbreak
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         90784
>Category:       ports
>Synopsis:       [PATCH] textproc/p5-podlators: bugfix and unbreak
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    skv
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 22 07:40:02 GMT 2005
>Closed-Date:    Thu Dec 22 12:11:09 GMT 2005
>Last-Modified:  Thu Dec 22 12:11:09 GMT 2005
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 6.0-STABLE FreeBSD 6.0-STABLE #0: Thu Nov 17 09:15:19 CST 2005
>Description:
- replace ->$method; with ->$method();
  (not only Pod/Man.pm line 303)
- fix 'Global symbol "%char" requires explicit package name' problem
- bump PORTREVISION

Tested under perl 5.005_03, 5.6.2, and 5.8.7.
This patch fixes the manpage problem of several p5-* on perl 5.005_03

Port maintainer (skv@FreeBSD.org) is cc'd.

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

--- p5-podlators-2.00_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/textproc/p5-podlators/Makefile,v
retrieving revision 1.11
diff -u -u -r1.11 Makefile
--- Makefile	16 Dec 2005 15:47:45 -0000	1.11
+++ Makefile	22 Dec 2005 07:23:46 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	podlators
 PORTVERSION=	2.00
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	textproc perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	Pod
@@ -40,8 +40,9 @@
 post-patch:
 .if ${PERL_LEVEL} >= 500600
 	@${REINPLACE_CMD} -Ee '/(pod2man|pod2text)/d' ${WRKSRC}/Makefile.PL
-.else
-	${PERL} -pi -e 's/;/();/ if $$.==303' ${WRKSRC}/lib/Pod/Man.pm
 .endif
+	@${REINPLACE_CMD} -e 's/->\$$method;/->\$$method\(\);/g' ${WRKSRC}/lib/Pod/*.pm
+	@${REINPLACE_CMD} -e 's/\$${char}/(\$${char})/g' ${WRKSRC}/lib/Pod/Text/*.pm
+	@${FIND} ${WRKSRC} -name "*.bak" -delete
 
 .include <bsd.port.post.mk>
--- p5-podlators-2.00_2.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->skv 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Dec 22 07:45:43 UTC 2005 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=90784 
State-Changed-From-To: open->closed 
State-Changed-By: skv 
State-Changed-When: Thu Dec 22 12:10:59 UTC 2005 
State-Changed-Why:  
Committed, thanks. 

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