commit: 2663c296ce83dc51d9e8015cbbaf54a3e08a63bb Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> AuthorDate: Mon Dec 19 18:26:28 2016 +0000 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> CommitDate: Mon Dec 19 23:51:11 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2663c296
sci-astronomy/predict: fix linking with ncurses Thanks for Yarda for providing a fix. Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=598912 Package-Manager: portage-2.3.3 sci-astronomy/predict/predict-2.2.3-r2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sci-astronomy/predict/predict-2.2.3-r2.ebuild b/sci-astronomy/predict/predict-2.2.3-r2.ebuild index c4b55b2..6bd37a6 100644 --- a/sci-astronomy/predict/predict-2.2.3-r2.ebuild +++ b/sci-astronomy/predict/predict-2.2.3-r2.ebuild @@ -87,10 +87,10 @@ src_compile() { local COMPILER="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" einfo "Compiling predict" - ${COMPILER} predict.c -lm -lncurses -lpthread \ + ${COMPILER} predict.c -lm $($(tc-getPKG_CONFIG) --libs ncurses) -lpthread \ -o predict || die "failed predict" einfo "Compiling predict-g1yyh" - ${COMPILER} predict-g1yyh.c -lm -lncurses -lpthread -lmenu \ + ${COMPILER} predict-g1yyh.c -lm $($(tc-getPKG_CONFIG) --libs ncurses) -lpthread -lmenu \ -o predict-g1yyh || die "failed predict-g1yyh" einfo "Compiling vocalizer" ${COMPILER} vocalizer/vocalizer.c \
