--- gnuplot-4.2.0-r2.ebuild 2007-09-14 02:08:50.000000000 +0200 +++ gnuplot-4.2.2.ebuild 2007-09-14 02:04:45.000000000 +0200 @@ -55,10 +55,10 @@ # See bug #156427. if use tetex ; then 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 sed -i \ - -e '/^SUBDIRS/ s/LaTeX//' share/Makefile.in || die "sed failed" + -e '/^SUBDIRS/ s/LaTeX//' share/LaTeX/Makefile.in || die "sed failed" fi if use wxwindows ; then @@ -161,8 +161,10 @@ einfo "this is usually considered to be a security hazard." einfo "As root, manually \"chmod u+s /usr/bin/gnuplot\"." fi + use tetex && mktexlsr } pkg_postrm() { use emacs && elisp-site-regen + use tetex && mktexlsr }