Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 192471
Collapse All | Expand All

(-)gnuplot-4.2.0-r2.ebuild (-2 / +4 lines)
Lines 55-64 Link Here
55
	# See bug #156427.
55
	# See bug #156427.
56
	if use tetex ; then
56
	if use tetex ; then
57
		sed -i \
57
		sed -i \
58
			-e 's/TEXMFLOCAL/TEXTMFSITE/g' share/Makefile.in || die "sed failed"
58
			-e 's/TEXMFLOCAL/TEXMFSITE/g' share/LaTeX/Makefile.in || die "sed failed"
59
	else
59
	else
60
		sed -i \
60
		sed -i \
61
			-e '/^SUBDIRS/ s/LaTeX//' share/Makefile.in || die "sed failed"
61
			-e '/^SUBDIRS/ s/LaTeX//' share/LaTeX/Makefile.in || die "sed failed"
62
	fi
62
	fi
63
63
64
	if use wxwindows ; then
64
	if use wxwindows ; then
Lines 161-168 Link Here
161
		einfo "this is usually considered to be a security hazard."
161
		einfo "this is usually considered to be a security hazard."
162
		einfo "As root, manually \"chmod u+s /usr/bin/gnuplot\"."
162
		einfo "As root, manually \"chmod u+s /usr/bin/gnuplot\"."
163
	fi
163
	fi
164
	use tetex && mktexlsr
164
}
165
}
165
166
166
pkg_postrm() {
167
pkg_postrm() {
167
	use emacs && elisp-site-regen
168
	use emacs && elisp-site-regen
169
	use tetex && mktexlsr
168
}
170
}

Return to bug 192471