From owner-freebsd-ports Sat Aug 12 16:50: 8 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9610C37B90F for ; Sat, 12 Aug 2000 16:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA51457; Sat, 12 Aug 2000 16:50:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Sat, 12 Aug 2000 16:50:03 -0700 (PDT) Message-Id: <200008122350.QAA51457@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Sugimoto Sadahiro Subject: Re: ports/20129: patch to use japanese/latex2html with perl-5.6.0 Reply-To: Sugimoto Sadahiro Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR ports/20129; it has been noted by GNATS. From: Sugimoto Sadahiro To: knu@idaemons.org Cc: ixtl@utmc.or.jp, FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: ports/20129: patch to use japanese/latex2html with perl-5.6.0 Date: Sun, 13 Aug 2000 08:20:10 +0900 "Akinori -Aki- MUSHA" wrote: > Is it intentional to install *.orig files too? If not, please try to > remove them in `post-patch' target in Makefile by doing "find > ${WRKSRC} -name '*.orig' -delete" (e.g.). I see. Thank you. Revised patch follows diff -ruN -x README.html -b -I $FreeBSD /usr/ports/japanese/latex2html/Makefile latex2html-current/Makefile --- /usr/ports/japanese/latex2html/Makefile Mon Jul 24 04:57:41 2000 +++ latex2html-current/Makefile Sun Aug 13 07:50:48 2000 @@ -40,6 +40,7 @@ ${PERL} -e "s:^\#!/usr/local/bin/perl:\#!${PERL}:" \ -pi ${WRKSRC}/$f .endfor + find ${WRKSRC} -name '*.orig' -delete do-install: ${MKDIR} ${L2HDIR} diff -ruN -x README.html -b -I $FreeBSD /usr/ports/japanese/latex2html/patches/patch-ba latex2html-current/patches/patch-ba --- /usr/ports/japanese/latex2html/patches/patch-ba Thu Jan 1 09:00:00 1970 +++ latex2html-current/patches/patch-ba Tue Jul 18 20:18:04 2000 @@ -0,0 +1,38 @@ +--- latex2html.orig Tue Jul 18 09:41:56 2000 ++++ latex2html Tue Jul 18 09:46:11 2000 +@@ -2780,7 +2780,7 @@ + if (defined &$trans) { + &set_default_language($pattern,*_); + } +- undef($cmd,$trans); ++ undef $cmd; undef $trans; + } + next; + } elsif ($4) { +@@ -3085,7 +3085,7 @@ + # Modifies $contents + &process_command($single_cmd_rx,*contents) if ($contents =~ /\\/o); + } +- undef ($cmd,$tmp,$etmp); ++ undef $cmd; undef $tmp; undef $etmp; + } else { + $contents = &translate_environments($contents); + $contents = &translate_commands($contents) +@@ -8916,7 +8916,7 @@ + }; + } + return(1) if ($this_dir eq '.'); +- rmdir($this_dir,$print_dir) if $mode; ++ if ($mode) { rmdir $this_dir; rmdir $print_dir } + if (!$mode) { &new_dir($this_dir,'r')}; + return(1); + } elsif ($answer =~ /^q$/) { +@@ -11326,7 +11326,7 @@ + &extract_captions($cap_env) if ($_ =~ /\\caption/m); + $minipage_caption = $captions; + $_ = $contents; +- undef($contents, $captions); ++ undef $contentscw; undef $captions; + }; + } + diff -ruN -x README.html -b -I $FreeBSD /usr/ports/japanese/latex2html/patches/patch-bb latex2html-current/patches/patch-bb --- /usr/ports/japanese/latex2html/patches/patch-bb Thu Jan 1 09:00:00 1970 +++ latex2html-current/patches/patch-bb Tue Jul 18 20:18:04 2000 @@ -0,0 +1,11 @@ +--- versions/html3_1.pl Tue Mar 30 20:29:04 1999 ++++ versions/html3_1.pl.new Tue Jul 18 09:27:13 2000 +@@ -1731,7 +1731,7 @@ + ($this, $_) = &$ctmp($_); + $this = &parse_math_toks($mode,$style,$face,$slevel,1,$this); + @open_tags = @save_open_tags; +- undef ($color_env, $inside_math, @save_open_tags); ++ undef $color_env; undef $inside_math; undef @save_open_tags; + }; + } elsif ($cmd eq 'left') { + #expandable delimiter: make an image diff -ruN -x README.html -b -I $FreeBSD /usr/ports/japanese/latex2html/patches/patch-bc latex2html-current/patches/patch-bc --- /usr/ports/japanese/latex2html/patches/patch-bc Thu Jan 1 09:00:00 1970 +++ latex2html-current/patches/patch-bc Tue Jul 18 20:18:04 2000 @@ -0,0 +1,11 @@ +--- versions/html3_2.pl Wed Dec 2 19:43:50 1998 ++++ versions/html3_2.pl.new Tue Jul 18 09:24:27 2000 +@@ -801,7 +801,7 @@ + local($tmp) = ++$global{'max_id'}; + "\\begin$OP$tmp${CP}math$OP$tmp$CP$1\\end$OP$tmp${CP}math$OP$tmp$CP" + /eg; +- undef ($cmd,$tmp,$endspec); undef @cmds; ++ undef $cmd; undef $tmp; undef $endspec; undef @cmds; + + local($tmp) = ++$global{'max_id'}; + if(@save_open_tags_tabular) { diff -ruN -x README.html -b -I $FreeBSD /usr/ports/japanese/latex2html/patches/patch-bd latex2html-current/patches/patch-bd --- /usr/ports/japanese/latex2html/patches/patch-bd Thu Jan 1 09:00:00 1970 +++ latex2html-current/patches/patch-bd Tue Jul 18 20:18:04 2000 @@ -0,0 +1,11 @@ +--- versions/html4_0.pl Wed Dec 2 19:43:52 1998 ++++ versions/html4_0.pl.new Tue Jul 18 09:25:00 2000 +@@ -1138,7 +1138,7 @@ + local($tmp) = ++$global{'max_id'}; + "\\begin$OP$tmp${CP}math$OP$tmp$CP$1\\end$OP$tmp${CP}math$OP$tmp$CP" + /eg; +- undef ($cmd,$tmp,$endspec); undef @cmds; ++ undef $cmd; undef $tmp; undef $endspec; undef @cmds; + + local($tmp) = ++$global{'max_id'}; + if(@save_open_tags_tabular) { diff -ruN -x README.html -b -I $FreeBSD /usr/ports/japanese/latex2html/patches/patch-be latex2html-current/patches/patch-be --- /usr/ports/japanese/latex2html/patches/patch-be Thu Jan 1 09:00:00 1970 +++ latex2html-current/patches/patch-be Tue Jul 18 20:18:04 2000 @@ -0,0 +1,11 @@ +--- versions/math.pl Tue Jul 18 09:25:39 2000 ++++ versions/math.pl.new Tue Jul 18 09:26:05 2000 +@@ -1731,7 +1731,7 @@ + ($this, $_) = &$ctmp($_); + $this = &parse_math_toks($mode,$style,$face,$slevel,1,$this); + @open_tags = @save_open_tags; +- undef ($color_env, $inside_math, @save_open_tags); ++ undef $color_env; undef $inside_math; undef @save_open_tags; + }; + } elsif ($cmd eq 'left') { + #expandable delimiter: make an image diff -ruN -x README.html -b -I $FreeBSD /usr/ports/japanese/latex2html/pkg/PLIST latex2html-current/pkg/PLIST --- /usr/ports/japanese/latex2html/pkg/PLIST Tue Jul 4 23:50:55 2000 +++ latex2html-current/pkg/PLIST Sun Aug 13 07:54:09 2000 @@ -280,7 +280,6 @@ share/latex2html/styles/amstex.perl share/latex2html/styles/article.perl share/latex2html/styles/ascmac.perl -share/latex2html/styles/ascmac.perl.orig share/latex2html/styles/austrian.perl share/latex2html/styles/babel.perl share/latex2html/styles/babelbst.perl @@ -325,17 +324,11 @@ share/latex2html/styles/irish.perl share/latex2html/styles/italian.perl share/latex2html/styles/j-article.perl -share/latex2html/styles/j-article.perl.orig share/latex2html/styles/j-report.perl -share/latex2html/styles/j-report.perl.orig share/latex2html/styles/japanese.perl -share/latex2html/styles/japanese.perl.orig share/latex2html/styles/jarticle.perl -share/latex2html/styles/jarticle.perl.orig share/latex2html/styles/jreport.perl -share/latex2html/styles/jreport.perl.orig share/latex2html/styles/jslides.perl -share/latex2html/styles/jslides.perl.orig share/latex2html/styles/justify.perl share/latex2html/styles/latexsym.perl share/latex2html/styles/letter.perl ================================= Sugimoto Sadahiro mail: ixtl@utmc.or.jp t00966@mail.ecc.u-tokyo.ac.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message