diff options
author | Sébastien Fabbro <bicatali@gentoo.org> | 2016-12-19 18:26:28 +0000 |
---|---|---|
committer | Sébastien Fabbro <bicatali@gentoo.org> | 2016-12-19 23:51:11 +0000 |
commit | 2663c296ce83dc51d9e8015cbbaf54a3e08a63bb (patch) | |
tree | f6dfb0c7417032969c2a15e5b709c242948afad2 /sci-astronomy | |
parent | sci-astronomy/funtools: version bump and add tcl dependency (diff) | |
download | gentoo-2663c296ce83dc51d9e8015cbbaf54a3e08a63bb.tar.gz gentoo-2663c296ce83dc51d9e8015cbbaf54a3e08a63bb.tar.bz2 gentoo-2663c296ce83dc51d9e8015cbbaf54a3e08a63bb.zip |
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
Diffstat (limited to 'sci-astronomy')
-rw-r--r-- | sci-astronomy/predict/predict-2.2.3-r2.ebuild | 4 |
1 files 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 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 \ |