Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  2 May 2003 14:40:39 +0200 (CEST)
From:      Mathieu Arnold <m@absolight.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Mathieu Arnold <m@absolight.net>
Subject:   ports/51687: UPDATE textproc/p5-String-ShowDiff
Message-ID:  <20030502124039.831867CE5@aragorn.reaumur.absolight.net>
Resent-Message-ID: <200305021250.h42Co7Fp019662@freefall.freebsd.org>

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

>Number:         51687
>Category:       ports
>Synopsis:       UPDATE textproc/p5-String-ShowDiff
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 02 05:50:07 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Mathieu Arnold
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
Absolight
>Environment:
System: FreeBSD aragorn.reaumur.absolight.net 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Thu Apr 10 13:45:07 CEST 2003 root@aragorn.reaumur.absolight.net:/usr/obj/usr/src/sys/ARAGORN i386


	
>Description:
Cleanup and make it work for perl 5.00503
	
>How-To-Repeat:
	
>Fix:
Before applying the patch, create the files directory.

--- p5-String-ShowDiff-0.01.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/p5-String-ShowDiff/Makefile,v
retrieving revision 1.1
diff -u -d -b -w -r1.1 Makefile
--- Makefile	2003/04/29 06:51:02	1.1
+++ Makefile	2003/05/02 12:26:58
@@ -16,15 +16,10 @@
 COMMENT=	Perl extension to help visualize differences between strings
 
 BUILD_DEPENDS=	${SITE_PERL}/Algorithm/Diff.pm:${PORTSDIR}/devel/p5-Algorithm-Diff \
-		${SITE_PERL}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor \
-		${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+		${SITE_PERL}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	YES
-
-SITE_PERL=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
-
-MAN3PREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
 
 MAN3=		String::ShowDiff.3
 
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/textproc/p5-String-ShowDiff/pkg-descr,v
retrieving revision 1.1
diff -u -d -b -w -r1.1 pkg-descr
--- pkg-descr	2003/04/29 06:51:02	1.1
+++ pkg-descr	2003/05/02 12:26:58
@@ -6,4 +6,4 @@
 nor are the recognised differences on line or word boundaries, they are at
 character level. 
 
-WWW: http://search.cpan.org/author/BIGJ/String-ShowDiff/
+WWW: http://search.cpan.org/dist/String-ShowDiff/
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/textproc/p5-String-ShowDiff/pkg-plist,v
retrieving revision 1.1
diff -u -d -b -w -r1.1 pkg-plist
--- pkg-plist	2003/04/29 06:51:02	1.1
+++ pkg-plist	2003/05/02 12:26:58
@@ -1,5 +1,5 @@
-lib/perl5/site_perl/%%PERL_VER%%/String/ShowDiff.pm
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/String/ShowDiff/.packlist
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/String/ShowDiff/
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/String
-@dirrm lib/perl5/site_perl/%%PERL_VER%%/String
+%%SITE_PERL%%/String/ShowDiff.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/String/ShowDiff/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/String/ShowDiff
+@unexec rmdir %%SITE_PERL%%/%%PERL_ARCH%%/auto/String 2>/dev/null || true
+@unexec rmdir %%SITE_PERL%%/String 2>/dev/null || true
Index: files/patch-Makefile.PL
===================================================================
RCS file: patch-Makefile.PL
diff -N patch-Makefile.PL
--- /dev/null	Fri May  2 03:20:00 2003
+++ patch-Makefile.PL	Fri May  2 07:26:58 2003
@@ -0,0 +1,7 @@
+--- Makefile.PL~	Fri Apr 25 20:22:11 2003
++++ Makefile.PL	Fri May  2 14:10:56 2003
+@@ -1,4 +1,3 @@
+-use 5.006;
+ use ExtUtils::MakeMaker;
+ # See lib/ExtUtils/MakeMaker.pm for details of how to influence
+ # the contents of the Makefile that is written.
Index: files/patch-ShowDiff.pm
===================================================================
RCS file: patch-ShowDiff.pm
diff -N patch-ShowDiff.pm
--- /dev/null	Fri May  2 03:20:00 2003
+++ patch-ShowDiff.pm	Fri May  2 07:26:58 2003
@@ -0,0 +1,33 @@
+--- ShowDiff.pm~	Fri Apr 25 20:10:03 2003
++++ ShowDiff.pm	Fri May  2 14:14:34 2003
+@@ -1,24 +1,23 @@
+ package String::ShowDiff;
+ 
+-use 5.006;
+ use strict;
+-use warnings;
+ 
+ require Exporter;
+ 
+-our @ISA = qw(Exporter);
++use vars qw{ @ISA %EXPORT_TAGS @EXPORT_OK @EXPORT $VERSION };
++@ISA = qw(Exporter);
+ 
+-our %EXPORT_TAGS = ( 'all' => [ qw(
++%EXPORT_TAGS = ( 'all' => [ qw(
+     ansi_colored_diff
+ ) ] );
+ 
+-our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
++@EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
+ 
+-our @EXPORT = qw(
++@EXPORT = qw(
+ 	
+ );
+ 
+-our $VERSION = '0.01';
++$VERSION = '0.01';
+ 
+ use Algorithm::Diff qw/sdiff/;
+ use Term::ANSIColor qw/colored/;
Index: files/patch-t::ansi_colored_diff.t
===================================================================
RCS file: patch-t::ansi_colored_diff.t
diff -N patch-t::ansi_colored_diff.t
--- /dev/null	Fri May  2 03:20:00 2003
+++ patch-t::ansi_colored_diff.t	Fri May  2 07:26:58 2003
@@ -0,0 +1,8 @@
+--- t/ansi_colored_diff.t~	Fri Apr 25 20:04:43 2003
++++ t/ansi_colored_diff.t	Fri May  2 14:13:39 2003
+@@ -1,5 +1,4 @@
+ use strict;
+-use warnings;
+ 
+ use String::ShowDiff qw/ansi_colored_diff/;
+ use Term::ANSIColor qw/:constants uncolor colored/;
--- p5-String-ShowDiff-0.01.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?20030502124039.831867CE5>