summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-10-28 21:52:26 +0000
committerJeroen Roovers <jer@gentoo.org>2014-10-28 21:52:26 +0000
commit221c7a36e21a8d3ede23f94aaa97752cf8f7a069 (patch)
tree2b44fbe5b615f8b14e65dda9691d1e69e3019b6b /sys-process/atop/files
parentFix building against sys-libs/ncurses[tinfo] (bug #497600). (diff)
downloadgentoo-2-221c7a36e21a8d3ede23f94aaa97752cf8f7a069.tar.gz
gentoo-2-221c7a36e21a8d3ede23f94aaa97752cf8f7a069.tar.bz2
gentoo-2-221c7a36e21a8d3ede23f94aaa97752cf8f7a069.zip
Add sys-libs/ncurses dependency. Fix building against sys-libs/ncurses[tinfo] (bug #505112).
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'sys-process/atop/files')
-rw-r--r--sys-process/atop/files/atop-2.0.2-build.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-process/atop/files/atop-2.0.2-build.patch b/sys-process/atop/files/atop-2.0.2-build.patch
index c36329c52b3b..a2a6b43a44cf 100644
--- a/sys-process/atop/files/atop-2.0.2-build.patch
+++ b/sys-process/atop/files/atop-2.0.2-build.patch
@@ -14,7 +14,7 @@
atop: atop.o $(ALLMODS) Makefile
- $(CC) atop.o $(ALLMODS) -o atop -lncurses -lm -lz -lrt
-+ $(CC) $(CFLAGS) $(LDFLAGS) atop.o $(ALLMODS) -o atop -lncurses -lm -lz -lrt
++ $(CC) $(CFLAGS) $(LDFLAGS) atop.o $(ALLMODS) -o atop $(shell ${PKG_CONFIG} --libs ncurses) -lm -lz -lrt
atopsar: atop
ln -sf atop atopsar