ports/155197: [patch] www/p5-HTML-Table fix internal version format

Andrej Zverev andrej.zverev at gmail.com
Wed Mar 2 15:10:13 UTC 2011


>Number:         155197
>Category:       ports
>Synopsis:       [patch] www/p5-HTML-Table fix internal version format
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 02 15:10:12 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Andrej Zverev
>Release:        
>Organization:
>Environment:


	
>Description:
	Module::Build shipped with future version of perl 5.12 more
	strict about version format.
	Since upstream still don't fix it this work for them.
	https://rt.cpan.org/Public/Bug/Display.html?id=62165

	
	
>How-To-Repeat:
	
>Fix:
	2.08a -> 2.08_1
	

--- p5-HTML-Table.diff begins here ---
Index: p5-HTML-Table/Makefile
===================================================================
RCS file: /home/pcvs/ports/www/p5-HTML-Table/Makefile,v
retrieving revision 1.21
diff -u -r1.21 Makefile
--- p5-HTML-Table/Makefile	23 Dec 2010 01:14:25 -0000	1.21
+++ p5-HTML-Table/Makefile	2 Mar 2011 15:01:10 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	HTML-Table
 PORTVERSION=	2.08a
+PORTREVISION=	1
 CATEGORIES=	www perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -20,4 +21,8 @@
 
 MAN3=		HTML::Table.3
 
+post-extract:
+	@${REINPLACE_CMD} -e 's|2.08a|2.08_1|' ${WRKSRC}/lib/HTML/Table.pm
+	${RM}  ${WRKSRC}/lib/HTML/Table.pm.bak
+
 .include <bsd.port.mk>
--- p5-HTML-Table.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list