aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/texi2html/files
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2005-02-13 06:40:59 +0800
committerroam <roam@FreeBSD.org>2005-02-13 06:40:59 +0800
commit7b8f29a0e3ff76d7a774214688ad0be258b0600c (patch)
tree690bee388e6c206d3de53a4716a6406346e51838 /textproc/texi2html/files
parentda9a25bf3792b150fcfed6081e8037e6326a14e2 (diff)
downloadfreebsd-ports-gnome-7b8f29a0e3ff76d7a774214688ad0be258b0600c.tar.gz
freebsd-ports-gnome-7b8f29a0e3ff76d7a774214688ad0be258b0600c.tar.zst
freebsd-ports-gnome-7b8f29a0e3ff76d7a774214688ad0be258b0600c.zip
Revert to the traditional behavior when building split HTML: do not create a
directory and put the files in there, but create all the files in the current directory with a common prefix instead. Grrr: in the general direction of the texi2html authors for throwing backwards compatibility to the wind without so much as a note in the ChangeLog Reported by: many people, including kris, WRT build failures on many different ports which use texi2html :( Pointy hat to: myself for not at least testing the xboard build ;)
Diffstat (limited to 'textproc/texi2html/files')
-rw-r--r--textproc/texi2html/files/patch-texi2html.pl41
1 files changed, 41 insertions, 0 deletions
diff --git a/textproc/texi2html/files/patch-texi2html.pl b/textproc/texi2html/files/patch-texi2html.pl
new file mode 100644
index 000000000000..3d163908646f
--- /dev/null
+++ b/textproc/texi2html/files/patch-texi2html.pl
@@ -0,0 +1,41 @@
+--- texi2html.pl.orig Fri Feb 4 02:16:52 2005
++++ texi2html.pl Sun Feb 13 00:18:09 2005
+@@ -2445,20 +2445,24 @@
+
+ if ($Texi2HTML::Config::SPLIT and ($Texi2HTML::Config::OUT ne ''))
+ {
+- $Texi2HTML::Config::OUT =~ s|/*$||;
+- $docu_rdir = "$Texi2HTML::Config::OUT/";
+- unless (-d $Texi2HTML::Config::OUT)
+- {
+- if ( mkdir($Texi2HTML::Config::OUT, oct(755)))
+- {
+- print STDERR "# created directory $Texi2HTML::Config::OUT\n" if ($T2H_VERBOSE);
+- }
+- else
+- {
+- die "$ERROR can't create directory $Texi2HTML::Config::OUT\n";
+- }
+- }
+- print STDERR "# putting result files into directory $docu_rdir\n" if ($T2H_VERBOSE);
++# $Texi2HTML::Config::OUT =~ s|/*$||;
++# $docu_rdir = "$Texi2HTML::Config::OUT/";
++# unless (-d $Texi2HTML::Config::OUT)
++# {
++# if ( mkdir($Texi2HTML::Config::OUT, oct(755)))
++# {
++# print STDERR "# created directory $Texi2HTML::Config::OUT\n" if ($T2H_VERBOSE);
++# }
++# else
++# {
++# die "$ERROR can't create directory $Texi2HTML::Config::OUT\n";
++# }
++# }
++# print STDERR "# putting result files into directory $docu_rdir\n" if ($T2H_VERBOSE);
++ # FIXME: handle the case when ::OUT includes a basedir
++ $Texi2HTML::Config::PREFIX = $Texi2HTML::Config::OUT;
++ $docu_rdir = '';
++ $Texi2HTML::Config::OUT = '';
+ }
+ elsif (! $Texi2HTML::Config::SPLIT and ($Texi2HTML::Config::OUT ne ''))
+ {