Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Mar 2011 18:05:27 +0300
From:      Andrej Zverev <andrej.zverev@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/155197: [patch] www/p5-HTML-Table fix internal version format
Message-ID:  <E1PuncF-000GQV-2u@sunner.semmy.ru>
Resent-Message-ID: <201103021510.p22FACS8076286@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1PuncF-000GQV-2u>