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: ports/90784: [PATCH] textproc/p5-podlators: bugfix and unbreak Message-ID: <20051222073019.C8CAEB29E28@utopia.leeym.com> Resent-Message-ID: <200512220740.jBM7e34W061022@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <bsd.port.post.mk> --- p5-podlators-2.00_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051222073019.C8CAEB29E28>