public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sebastien Fabbro" <bicatali@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/predict/
Date: Mon, 19 Dec 2016 23:51:29 +0000 (UTC)	[thread overview]
Message-ID: <1482191471.2663c296ce83dc51d9e8015cbbaf54a3e08a63bb.bicatali@gentoo> (raw)

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 \


             reply	other threads:[~2016-12-19 23:51 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-19 23:51 Sebastien Fabbro [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-13 15:59 [gentoo-commits] repo/gentoo:master commit in: sci-astronomy/predict/ Arthur Zamarin
2021-03-03 17:40 Sam James
2019-02-27  4:25 Aaron Bauman
2017-01-29 22:51 David Seifert
2017-01-04 15:29 Agostino Sarubbo
2016-09-02 20:09 David Seifert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1482191471.2663c296ce83dc51d9e8015cbbaf54a3e08a63bb.bicatali@gentoo \
    --to=bicatali@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox