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 (+4 lines)
Lines 32-37 Link Here
32
	sed -i "s:/\(usr\|etc\|var\):${EPREFIX}/\1:g" Makefile
32
	sed -i "s:/\(usr\|etc\|var\):${EPREFIX}/\1:g" Makefile
33
}
33
}
34
34
35
src_compile() {
36
	emake CURSES="$( $( tc-getPKG_CONFIG ) --libs ncurses )"
37
}
38
35
src_install() {
39
src_install() {
36
	default
40
	default
37
	# useless -${PV} copies ?
41
	# 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