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

(-)nmon-14g-orig.ebuild (-1 / +15 lines)
Lines 25-32 Link Here
25
}
25
}
26
26
27
src_compile() {
27
src_compile() {
28
	# if ncurses is built with separate tinfo libs, then...
29
	if has_version "sys-libs/ncurses[tinfo]" ; then
30
		if has_version "sys-libs/ncurses[unicode]" ; then
31
			CURSES_LIB="-lncursesw -ltinfow"
32
		else
33
			CURSES_LIB="-lncurses -ltinfo"
34
		fi
35
	else
36
		if has_version "sys-libs/ncurses[unicode]" ; then
37
			CURSES_LIB="-lncursesw"
38
		else
39
			CURSES_LIB="-lncurses"
40
		fi
41
	fi
28
	append-cppflags -DJFS -DGETUSER -DLARGEMEM
42
	append-cppflags -DJFS -DGETUSER -DLARGEMEM
29
	emake CC="$(tc-getCC)" LDLIBS="-lncurses" nmon
43
	emake CC="$(tc-getCC)" LDLIBS="${CURSES_LIB}" nmon
30
}
44
}
31
45
32
src_install() {
46
src_install() {

Return to bug 505114