ports/150622: [PATCH] lang/perl: Fix perl-after-upgrade

Renato Botelho garga at FreeBSD.org
Thu Sep 16 12:00:07 UTC 2010


>Number:         150622
>Category:       ports
>Synopsis:       [PATCH] lang/perl: Fix perl-after-upgrade
>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 Sep 16 12:00:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Renato Botelho
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
FreeBSD.org
>Environment:
System: FreeBSD botelhor.bplab.local 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r212583M: Mon Sep 13 19:11:50 BRT
>Description:
Fix version detection of perl-after-upgrade script and make it work on 5.12

Port maintainer (skv at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- perl-5.12.2_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/lang/perl5.12/Makefile,v
retrieving revision 1.123
diff -u -u -r1.123 Makefile
--- Makefile	15 Sep 2010 16:21:30 -0000	1.123
+++ Makefile	16 Sep 2010 11:52:11 -0000
@@ -7,7 +7,7 @@
 
 PORTNAME=	perl
 PORTVERSION=	${PERL_VERSION}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang devel perl5
 MASTER_SITES=	CPAN \
 		${MASTER_SITE_LOCAL:S/$/:local/} \
Index: files/perl-after-upgrade
===================================================================
RCS file: /home/pcvs/ports/lang/perl5.12/files/perl-after-upgrade,v
retrieving revision 1.6
diff -u -u -r1.6 perl-after-upgrade
--- files/perl-after-upgrade	23 Nov 2009 15:58:01 -0000	1.6
+++ files/perl-after-upgrade	16 Sep 2010 11:52:11 -0000
@@ -264,7 +264,7 @@
 our $PERL_VERSION = '%%PERL_VERSION%%';
 our $PERL_PKGNAME = '%%PKGNAME%%';
 
-our $PERL_VERSION_REGEX = qr/5\.10\.\d+/;
+our $PERL_VERSION_REGEX = qr/5\.12\.\d+/;
 print STDERR "- Fuzzy source re: <$PERL_VERSION_REGEX>\n" if $debug;
 
 our @errors;
--- perl-5.12.2_2.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list