mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 22:30:38 -04:00
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 ;)
41 lines
1.5 KiB
Perl
41 lines
1.5 KiB
Perl
--- 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 ''))
|
|
{
|