summaryrefslogtreecommitdiff
path: root/textproc/latex2html/files/patch-config-install.pl
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-11-02 17:34:44 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-11-02 17:34:44 +0000
commitdd2b32911485c938f438e0eefbfab643c7e8e20b (patch)
treecb2f6eb5f10a5a79b338558282f45f14ec004411 /textproc/latex2html/files/patch-config-install.pl
parent- Update to 0.81 (diff)
Add STAGEDIR support.
Notes
Notes: svn path=/head/; revision=332522
Diffstat (limited to 'textproc/latex2html/files/patch-config-install.pl')
-rw-r--r--textproc/latex2html/files/patch-config-install.pl11
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/latex2html/files/patch-config-install.pl b/textproc/latex2html/files/patch-config-install.pl
new file mode 100644
index 000000000000..ef4ed1a1cd99
--- /dev/null
+++ b/textproc/latex2html/files/patch-config-install.pl
@@ -0,0 +1,11 @@
+--- config/install.pl.orig 2002-11-29 20:49:01.000000000 +0900
++++ config/install.pl 2013-11-03 02:31:07.000000000 +0900
+@@ -372,7 +372,7 @@
+
+ if($cfg{TEXPATH}) {
+ print "\nNote: trying to install LaTeX2HTML style files in TeX directory tree\n ($cfg{TEXPATH})\n";
+- unless(mkpath($cfg{TEXPATH})) {
++ unless(mkpath($ENV{DESTDIR}.$cfg{TEXPATH})) {
+ #my $testpath = $cfg{TEXPATH}; # to strip (latex2)html
+ #$testpath =~ s/[$dd$dd][^$dd$dd]*$//;
+ #if((-d $cfg{TEXPATH} && !-w _) || (-d $testpath && !-w _)) {