diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-10-31 22:02:46 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-10-31 22:02:46 +0000 |
commit | a796e495a6d1520a245f7539b4a8f5a3ea7b58f8 (patch) | |
tree | 1bb1ed98fdfff011146b3a8a90fda45ba7ec9d86 /dev-tex/latex2html/files/latex2html-destdir.patch | |
parent | Add documentation from Fabio Rossi in bug #217562 (diff) | |
download | historical-a796e495a6d1520a245f7539b4a8f5a3ea7b58f8.tar.gz historical-a796e495a6d1520a245f7539b4a8f5a3ea7b58f8.tar.bz2 historical-a796e495a6d1520a245f7539b4a8f5a3ea7b58f8.zip |
Version bump. Remove files already provided by our latex installs, bug #240980. Install latex files to texmf-site. Apply patch from bug #143831 to avoid using obsolete functions.
Package-Manager: portage-2.2_rc12/cvs/Linux 2.6.27.4 x86_64
Diffstat (limited to 'dev-tex/latex2html/files/latex2html-destdir.patch')
-rw-r--r-- | dev-tex/latex2html/files/latex2html-destdir.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-tex/latex2html/files/latex2html-destdir.patch b/dev-tex/latex2html/files/latex2html-destdir.patch new file mode 100644 index 000000000000..2d07beff449b --- /dev/null +++ b/dev-tex/latex2html/files/latex2html-destdir.patch @@ -0,0 +1,15 @@ +Index: latex2html-2008/config/install.pl +=================================================================== +--- latex2html-2008.orig/config/install.pl ++++ latex2html-2008/config/install.pl +@@ -372,7 +372,9 @@ foreach $item (sort keys %Install_items) + + if($cfg{TEXPATH}) { + print "\nNote: trying to install LaTeX2HTML style files in TeX directory tree\n ($cfg{TEXPATH})\n"; +- unless(mkpath($cfg{TEXPATH})) { ++ my $destdir = $cfg{TEXPATH}; ++ $destdir = $ENV{'DESTDIR'}.$destdir if($ENV{'DESTDIR'}); ++ unless(mkpath($destdir)) { + #my $testpath = $cfg{TEXPATH}; # to strip (latex2)html + #$testpath =~ s/[$dd$dd][^$dd$dd]*$//; + #if((-d $cfg{TEXPATH} && !-w _) || (-d $testpath && !-w _)) { |