summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Fabbro <bicatali@gentoo.org>2016-12-19 18:26:28 +0000
committerSébastien Fabbro <bicatali@gentoo.org>2016-12-19 23:51:11 +0000
commit2663c296ce83dc51d9e8015cbbaf54a3e08a63bb (patch)
treef6dfb0c7417032969c2a15e5b709c242948afad2 /sci-astronomy/predict/predict-2.2.3-r2.ebuild
parentsci-astronomy/funtools: version bump and add tcl dependency (diff)
downloadgentoo-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/predict/predict-2.2.3-r2.ebuild')
-rw-r--r--sci-astronomy/predict/predict-2.2.3-r2.ebuild4
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 \