View | Details | Raw Unified
Collapse All | Expand All

(-) gnuplot-4.2.0-r2.ebuild (-2 / +4 lines)
 Lines 55-64    Link Here 
	# 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
 Lines 161-168    Link Here 
		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
}
}