When running latex2html (app-text/latex2html) on a file, it gives this error: Error: '/var/tmp/portage/latex2html-2002.1/temp' not usable as temporary directory. After investigation, it appears as if some tempdir variables are set wrongly: jochem@lisa up-to-date-with-freebsd $ find /usr/lib/latex2html -type f -exec grep -H temp {} \; |grep /var /usr/lib/latex2html/pstoimg.pl:my $def_tmp = '/var/tmp/portage/latex2html-2002.1/temp'; # Space for temporary files /usr/lib/latex2html/pstoimg.pl:Use I<path> to store temporary files. Defaults to /var/tmp/portage/latex2html-2002.1/temp on this /usr/lib/latex2html/cfgcache.pm:$cfg{'TMPSPACE'} = q'/var/tmp/portage/latex2html-2002.1/temp'; /usr/lib/latex2html/l2hconf.pm:$TMP = '/var/tmp/portage/latex2html-2002.1/temp';
Created attachment 5394 [details] latex2html-2002.1-r1.ebuild Hi! I needed this .... so i fixed it ;) please check it (i changed a bit more than really necessarry to make it work with future versions too if needed[no hardcoded versions ;) ]) greetings, LordVan
Yup, works like a charm. Please commit this (someone)...
Looks like this got taken care of with .2. Thanks!