diff options
author | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2009-01-03 18:48:47 +0000 |
---|---|---|
committer | rhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4> | 2009-01-03 18:48:47 +0000 |
commit | 23395d1ef8ffcaef85588d5de82dc412b31e8111 (patch) | |
tree | 67192dffb295970d8268e8a324fab0636fc65209 /dev/tex/latex2html/latex2html-2008.diff | |
parent | 9f3feab0052d02698ac6f3ed8fdc7f7e7b7f2e86 (diff) | |
download | slackbuilds-23395d1ef8ffcaef85588d5de82dc412b31e8111.tar.gz slackbuilds-23395d1ef8ffcaef85588d5de82dc412b31e8111.tar.bz2 |
latex2html: adding latex2html
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@2052 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'dev/tex/latex2html/latex2html-2008.diff')
-rw-r--r-- | dev/tex/latex2html/latex2html-2008.diff | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dev/tex/latex2html/latex2html-2008.diff b/dev/tex/latex2html/latex2html-2008.diff new file mode 100644 index 00000000..2d07beff --- /dev/null +++ b/dev/tex/latex2html/latex2html-2008.diff @@ -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 _)) { |