Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 505112 | Differences between
and this patch

Collapse All | Expand All

(-)atop-2.0.2.ebuild (-1 / +8 lines)
Lines 18-24 Link Here
18
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
18
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
19
IUSE=""
19
IUSE=""
20
20
21
DEPEND="sys-process/acct"
21
DEPEND="virtual/pkgconfig"
22
RDEPEND="${DEPEND}
23
	sys-process/acct
24
"
22
25
23
S=${WORKDIR}/${MY_P}
26
S=${WORKDIR}/${MY_P}
24
27
Lines 32-37 Link Here
32
	sed -i "s:/\(usr\|etc\|var\):${EPREFIX}/\1:g" Makefile
35
	sed -i "s:/\(usr\|etc\|var\):${EPREFIX}/\1:g" Makefile
33
}
36
}
34
37
38
src_compile() {
39
	emake CURSES="$( $( tc-getPKG_CONFIG ) --libs ncurses )"
40
}
41
35
src_install() {
42
src_install() {
36
	default
43
	default
37
	# useless -${PV} copies ?
44
	# useless -${PV} copies ?
(-)files/atop-2.0.2-build.patch (-1 / +1 lines)
Lines 14-20 Link Here
14
 
14
 
15
 atop:		atop.o    $(ALLMODS) Makefile
15
 atop:		atop.o    $(ALLMODS) Makefile
16
-		$(CC) atop.o $(ALLMODS) -o atop -lncurses -lm -lz -lrt
16
-		$(CC) atop.o $(ALLMODS) -o atop -lncurses -lm -lz -lrt
17
+		$(CC) $(CFLAGS) $(LDFLAGS) atop.o $(ALLMODS) -o atop -lncurses -lm -lz -lrt
17
+		$(CC) $(CFLAGS) $(LDFLAGS) atop.o $(ALLMODS) -o atop $(CURSES) -lm -lz -lrt
18
 
18
 
19
 atopsar:	atop
19
 atopsar:	atop
20
 		ln -sf atop atopsar
20
 		ln -sf atop atopsar

Return to bug 505112