Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 69039 Details for
Bug 106925
patch for dev-tex/latex2html to install.pl; better solution the problem with DESTDIR/${D} not being used everywhere duing install
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix install paths.
installpaths.patch (text/plain), 1.36 KB, created by
Ed Anderson
on 2005-09-22 20:10:55 UTC
(
hide
)
Description:
patch to fix install paths.
Filename:
MIME Type:
Creator:
Ed Anderson
Created:
2005-09-22 20:10:55 UTC
Size:
1.36 KB
patch
obsolete
>--- latex2html-2002-2-1/config/install.pl.bak 2005-09-22 15:23:23.000000000 -0400 >+++ latex2html-2002-2-1/config/install.pl 2005-09-22 15:23:52.000000000 -0400 >@@ -293,13 +293,14 @@ > split(/\s+/,$cfg{'IMAGE_TYPES'}) : qw(gif); > my $iconrx = join('|', @icon_types); > >+my $destdir = ''.$ENV{'DESTDIR'}; > my $dest1 = "$cfg{'SHLIBDIR'}${dd}icons"; >-if((-d $dest1 && !-w _) || (-d $cfg{'SHLIBDIR'} && !-w _)) { >+if((-d $destdir.$dest1 && !-w _) || (-d $destdir.$cfg{'SHLIBDIR'} && !-w _)) { > print STDERR "Error: Cannot install icons in '$dest1': No write permission.\n"; > $dest1 = ''; > } > my $dest2 = $cfg{'ICONSTORAGE'} || ''; >-if(-d $dest2 && !-w $dest2) { >+if(-d $destdir.$dest2 && !-w _) { > print STDERR "Error: Cannot install icons in '$dest2': No write permission.\n"; > $dest2 = ''; > } >@@ -371,8 +372,8 @@ > #----------------------------------------------------------------------------- > > if($cfg{TEXPATH}) { >- print "\nNote: trying to install LaTeX2HTML style files in TeX directory >tree\n ($cfg{TEXPATH})\n"; >- unless(mkpath($cfg{TEXPATH})) { >+ print "\nNote: trying to install LaTeX2HTML style files in TeX directory >tree\n ($destdir$cfg{TEXPATH})\n"; >+ unless(mkpath($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 _)) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 106925
: 69039