|
|
# See bug #156427. | # See bug #156427. |
if use tetex ; then | if use tetex ; then |
sed -i \ | sed -i \ |
-e 's/TEXMFLOCAL/TEXTMFSITE/g' share/Makefile.in || die "sed failed" |
-e 's/TEXMFLOCAL/TEXMFSITE/g' share/LaTeX/Makefile.in || die "sed failed" |
else | else |
sed -i \ | sed -i \ |
-e '/^SUBDIRS/ s/LaTeX//' share/Makefile.in || die "sed failed" |
-e '/^SUBDIRS/ s/LaTeX//' share/LaTeX/Makefile.in || die "sed failed" |
fi | fi |
| |
if use wxwindows ; then | if use wxwindows ; then |
|
|
einfo "this is usually considered to be a security hazard." | einfo "this is usually considered to be a security hazard." |
einfo "As root, manually \"chmod u+s /usr/bin/gnuplot\"." | einfo "As root, manually \"chmod u+s /usr/bin/gnuplot\"." |
fi | fi |
|
use tetex && mktexlsr |
} | } |
| |
pkg_postrm() { | pkg_postrm() { |
use emacs && elisp-site-regen | use emacs && elisp-site-regen |
|
use tetex && mktexlsr |
} | } |