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

(-)notion-3_p2013030200.ebuild (-1 / +9 lines)
Lines 41-46 Link Here
41
		-e "s:^\(VARDIR=\).*$:\1${ROOT}var/cache/${PN}:" \
41
		-e "s:^\(VARDIR=\).*$:\1${ROOT}var/cache/${PN}:" \
42
		-e "s:^\(X11_PREFIX=\).*:\1\$(PREFIX)/usr:" \
42
		-e "s:^\(X11_PREFIX=\).*:\1\$(PREFIX)/usr:" \
43
		-i system-autodetect.mk || die
43
		-i system-autodetect.mk || die
44
45
	sed -e 's/gcc/$(CC)/g' -i ioncore/Makefile || die
46
44
	export STRIPPROG=true
47
	export STRIPPROG=true
45
48
46
	use nls || export DEFINES=" -DCF_NO_LOCALE -DCF_NO_GETTEXT"
49
	use nls || export DEFINES=" -DCF_NO_LOCALE -DCF_NO_GETTEXT"
Lines 52-59 Link Here
52
	if ! use xrandr ; then
55
	if ! use xrandr ; then
53
		sed -e 's/mod_xrandr//g' -i modulelist.mk || die
56
		sed -e 's/mod_xrandr//g' -i modulelist.mk || die
54
	fi
57
	fi
58
}
55
59
56
	tc-export CC
60
src_compile(){
61
	emake \
62
		CC="$(tc-getCC)" \
63
		AR="$(tc-getAR)" \
64
		RANLIB="$(tc-getRANLIB)"
57
}
65
}
58
66
59
src_install() {
67
src_install() {

Return to bug 465260