From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Dec 22 07:40:04 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org 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 2D0DC16A41F for ; Thu, 22 Dec 2005 07:40:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6971443D5C for ; Thu, 22 Dec 2005 07:40:03 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBM7e3WF061023 for ; Thu, 22 Dec 2005 07:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBM7e34W061022; Thu, 22 Dec 2005 07:40:03 GMT (envelope-from gnats) Resent-Date: Thu, 22 Dec 2005 07:40:03 GMT Resent-Message-Id: <200512220740.jBM7e34W061022@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 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: skv@FreeBSD.org Subject: ports/90784: [PATCH] textproc/p5-podlators: bugfix and unbreak X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2005 07:40:04 -0000 >Number: 90784 >Category: ports >Synopsis: [PATCH] textproc/p5-podlators: bugfix and unbreak >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: Thu Dec 22 07:40:02 GMT 2005 >Closed-Date: >Last-Modified: >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 --- p5-podlators-2.00_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: