From: Sébastien Fabbro Date: Mon, 19 Dec 2016 18:26:28 +0000 (+0000) Subject: sci-astronomy/predict: fix linking with ncurses X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2663c296ce83dc51d9e8015cbbaf54a3e08a63bb;p=gentoo.git 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 --- diff --git a/sci-astronomy/predict/predict-2.2.3-r2.ebuild b/sci-astronomy/predict/predict-2.2.3-r2.ebuild index c4b55b2b19f2..6bd37a681927 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 \