ports/51688: UPDATE textproc/p5-Text-Reform
Mathieu Arnold
m at absolight.net
Fri May 2 13:00:32 UTC 2003
>Number: 51688
>Category: ports
>Synopsis: UPDATE textproc/p5-Text-Reform
>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 06:00:30 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 at aragorn.reaumur.absolight.net:/usr/obj/usr/src/sys/ARAGORN i386
>Description:
>How-To-Repeat:
Cleanup and make it work for perl 5.00503
>Fix:
Before applying the patch, create the files directory.
--- p5-Text-Reform-1.10.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/p5-Text-Reform/Makefile,v
retrieving revision 1.1
diff -u -d -b -w -r1.1 Makefile
--- Makefile 2003/04/18 07:06:37 1.1
+++ Makefile 2003/05/02 12:50:07
@@ -18,6 +18,5 @@
PERL_CONFIGURE= yes
MAN3= Text::Reform.3
-MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>
Index: pkg-descr
===================================================================
RCS file: /home/ncvs/ports/textproc/p5-Text-Reform/pkg-descr,v
retrieving revision 1.2
diff -u -d -b -w -r1.2 pkg-descr
--- pkg-descr 2003/04/26 08:41:44 1.2
+++ pkg-descr 2003/05/02 12:50:07
@@ -1,3 +1,3 @@
Manual text wrapping and reformatting
-WWW: http://search.cpan.org/author/DCONWAY/Text-Reform/
+WWW: http://search.cpan.org/dist/Text-Reform/
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/textproc/p5-Text-Reform/pkg-plist,v
retrieving revision 1.1
diff -u -d -b -w -r1.1 pkg-plist
--- pkg-plist 2003/04/18 07:06:37 1.1
+++ pkg-plist 2003/05/02 12:50:07
@@ -1,8 +1,10 @@
-lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Reform/.packlist
-lib/perl5/site_perl/%%PERL_VER%%/Text/demo_ws.pl
-lib/perl5/site_perl/%%PERL_VER%%/Text/demo_table.pl
-lib/perl5/site_perl/%%PERL_VER%%/Text/demo_filler.pl
-lib/perl5/site_perl/%%PERL_VER%%/Text/demo_columns.pl
-lib/perl5/site_perl/%%PERL_VER%%/Text/demo.pl
-lib/perl5/site_perl/%%PERL_VER%%/Text/Reform.pm
- at dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Reform
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Reform/.packlist
+%%SITE_PERL%%/Text/demo_ws.pl
+%%SITE_PERL%%/Text/demo_table.pl
+%%SITE_PERL%%/Text/demo_filler.pl
+%%SITE_PERL%%/Text/demo_columns.pl
+%%SITE_PERL%%/Text/demo.pl
+%%SITE_PERL%%/Text/Reform.pm
+ at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Reform
+ at unexec rmdir %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true
+ at unexec rmdir %%SITE_PERL%%/Text 2>/dev/null || true
Index: files/patch-lib::Text::Reform.pm
===================================================================
RCS file: patch-lib::Text::Reform.pm
diff -N patch-lib::Text::Reform.pm
--- /dev/null Fri May 2 03:20:00 2003
+++ patch-lib::Text::Reform.pm Fri May 2 07:50:07 2003
@@ -0,0 +1,21 @@
+--- lib/Text/Reform.pm.orig Wed Apr 9 10:49:02 2003
++++ lib/Text/Reform.pm Fri May 2 14:47:28 2003
+@@ -44,7 +43,7 @@
+ }
+
+ sub carpfirst {
+- our %carped;
++ my %carped;
+ my ($msg) = @_;
+ return if $carped{$msg}++;
+ carp $msg;
+@@ -342,8 +341,7 @@
+
+ sub form
+ {
+- our %carped;
+- local %carped;
++ my %carped;
+ my $config = {%std_config};
+ my $startidx = 0;
+ if (@_ && ref($_[0]) eq 'HASH') # RESETTING CONFIG
--- p5-Text-Reform-1.10.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list