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

(-)a/gkrellm-mailwatch-2.4.3.ebuild (-1 / +14 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-mailwatch/gkrellm-mailwatch-2.4.3.ebuild,v 1.11 2010/03/12 00:43:24 sping Exp $
3
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-mailwatch/gkrellm-mailwatch-2.4.3.ebuild,v 1.11 2010/03/12 00:43:24 sping Exp $
4
4
5
inherit gkrellm-plugin
5
EAPI="2"
6
7
inherit gkrellm-plugin toolchain-funcs
6
8
7
IUSE=""
9
IUSE=""
8
S=${WORKDIR}/${PN}
10
S=${WORKDIR}/${PN}
Lines 15-17 Link Here
15
KEYWORDS="alpha amd64 ppc sparc x86"
17
KEYWORDS="alpha amd64 ppc sparc x86"
16
18
17
PLUGIN_SO=mailwatch.so
19
PLUGIN_SO=mailwatch.so
20
21
src_prepare() {
22
	sed -i \
23
		-e 's/-O2 //' \
24
		-e 's/\t\$(CC) /&$(LDFLAGS) /' \
25
		Makefile || die
26
	# Not exactly correct since the package is not compiled until src_compile,
27
	# but CC stays in the environment and has the desired effect.  This avoids
28
	# writing a src_compile for the ebuild.
29
	tc-export CC
30
}

Return to bug 335085