Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2010 01:20:35 GMT
From:      Steve Wills <steve@mouf.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/145148: port update: devel/p5-ParseLex
Message-ID:  <201003290120.o2T1KZ5A080595@www.freebsd.org>
Resent-Message-ID: <201003290130.o2T1U8nY019663@freefall.freebsd.org>

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

>Number:         145148
>Category:       ports
>Synopsis:       port update: devel/p5-ParseLex
>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:   Mon Mar 29 01:30:07 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Steve Wills
>Release:        8.0-amd64
>Organization:
>Environment:
>Description:
update the p5-ParseLex port to the latest version. The current version doesn't seem to work with perl 5.10 (don't have the error message handy), but the updated one does.
>How-To-Repeat:
try to use the module with perl 5.10
>Fix:
see attached

Patch attached with submission follows:

diff -ruN --exclude=CVS devel/p5-ParseLex.orig/Makefile devel/p5-ParseLex/Makefile
--- devel/p5-ParseLex.orig/Makefile	2010-03-28 19:41:31.000000000 -0400
+++ devel/p5-ParseLex/Makefile	2010-03-28 19:55:18.000000000 -0400
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	ParseLex
-PORTVERSION=	2.15
+PORTVERSION=	2.18
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN/Parse
 PKGNAMEPREFIX=	p5-
@@ -19,7 +19,4 @@
 MAN3=		Parse::Lex.3 Parse::Token.3 Parse::YYLex.3 Parse::LexEvent.3 \
 		Parse::CLex.3 Parse::Template.3
 
-post-patch:
-	@${RM} ${WRKSRC}/lib/Parse/*.orig
-
 .include <bsd.port.mk>
diff -ruN --exclude=CVS devel/p5-ParseLex.orig/distinfo devel/p5-ParseLex/distinfo
--- devel/p5-ParseLex.orig/distinfo	2010-03-28 19:41:31.000000000 -0400
+++ devel/p5-ParseLex/distinfo	2010-03-28 19:41:53.000000000 -0400
@@ -1,3 +1,3 @@
-MD5 (ParseLex-2.15.tar.gz) = aeb0bb36454485d28214aad0907d5c92
-SHA256 (ParseLex-2.15.tar.gz) = a6201f0522b36733ec237e37ff8328f306b23081ea8473de7456d18831d3e997
-SIZE (ParseLex-2.15.tar.gz) = 51560
+MD5 (ParseLex-2.18.tar.gz) = beb91a385c80a03ab1138e3cc7507a65
+SHA256 (ParseLex-2.18.tar.gz) = 91af4c5b07c66d1656093b355a0c8f4f4594032d90cb024390e58e9e9e033be2
+SIZE (ParseLex-2.18.tar.gz) = 54384
diff -ruN --exclude=CVS devel/p5-ParseLex.orig/files/patch-lib-Parse-Template.pm devel/p5-ParseLex/files/patch-lib-Parse-Template.pm
--- devel/p5-ParseLex.orig/files/patch-lib-Parse-Template.pm	2010-03-28 19:41:31.000000000 -0400
+++ devel/p5-ParseLex/files/patch-lib-Parse-Template.pm	1969-12-31 19:00:00.000000000 -0500
@@ -1,17 +0,0 @@
---- lib/Parse/Template.pm.orig	Thu Sep 23 12:16:28 1999
-+++ lib/Parse/Template.pm	Fri Aug 20 16:03:23 2004
-@@ -1,4 +1,4 @@
--use strict
-+use strict;
- require 5.004;
- package Parse::Template;
- $Parse::Template::VERSION = '0.32';
-@@ -132,7 +132,7 @@
-   }
-   # evaluated expressions are not always available in (caller(1))[6];	
-   if (defined($1) and $1 ne '') {
--    $expr = $1;			# what is the  template expression?
-+    my $expr = $1;			# what is the  template expression?
-     { package DB;		# what is the part name?
-       @DB::caller = caller(2);	# why is this needed? /ee?
-       @DB::caller = caller(1);


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003290120.o2T1KZ5A080595>