ports/90784: [PATCH] textproc/p5-podlators: bugfix and unbreak
Yen-Ming Lee
leeym at FreeBSD.org
Thu Dec 22 07:40:04 UTC 2005
>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 at 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:
More information about the freebsd-ports-bugs
mailing list