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

(-)a/gkrellm-bgchanger-0.1.7.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-bgchanger/gkrellm-bgchanger-0.1.7.ebuild,v 1.8 2007/07/11 20:39:22 mr_bones_ Exp $
3
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gkrellm-bgchanger/gkrellm-bgchanger-0.1.7.ebuild,v 1.8 2007/07/11 20:39:22 mr_bones_ Exp $
4
4
5
inherit gkrellm-plugin
5
EAPI="2"
6
7
inherit gkrellm-plugin toolchain-funcs
6
8
7
IUSE=""
9
IUSE=""
8
10
Lines 19-21 Link Here
19
21
20
PLUGIN_SO=gkrellmbgchg.so
22
PLUGIN_SO=gkrellmbgchg.so
21
PLUGIN_DOCS="bgchg_info.sh kdewallpaper.sh"
23
PLUGIN_DOCS="bgchg_info.sh kdewallpaper.sh"
24
25
src_prepare() {
26
	sed -i \
27
		-e '/^CFLAGS /s/-O3//' \
28
		-e 's/\<LFLAGS\>/LDFLAGS/g' \
29
		-e "1aCC:=$(tc-getCC)" \
30
		Makefile || die
31
	sed -i \
32
		-e '/fgets/s/num\*BUFFSIZE/(&)-1/' \
33
		gkrellmbgchg.c || die
34
}

Return to bug 338971