public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-news/rsstail/
Date: Tue, 13 Apr 2021 00:26:53 +0000 (UTC)	[thread overview]
Message-ID: <1618273583.7bcf5cc9fbab7c60e979d97cd17a471e8f708771.sam@gentoo> (raw)

commit:     7bcf5cc9fbab7c60e979d97cd17a471e8f708771
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  7 05:13:57 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 13 00:26:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bcf5cc9

net-news/rsstail: call pkg-config via toolchain-funcs.eclass helper

This ensures we call the correct pkg-config in e.g. cross.

Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-news/rsstail/rsstail-2.1.ebuild           | 4 ++--
 net-news/rsstail/rsstail-2.1_p20200310.ebuild | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-news/rsstail/rsstail-2.1.ebuild b/net-news/rsstail/rsstail-2.1.ebuild
index 626c4b85543..a97a15db70c 100644
--- a/net-news/rsstail/rsstail-2.1.ebuild
+++ b/net-news/rsstail/rsstail-2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,7 +21,7 @@ src_compile() {
 	emake \
 		CC="$(tc-getCC)" \
 		CFLAGS="${CFLAGS} -DVERSION=\\\"\$(VERSION)\\\"" \
-		LDFLAGS="${LDFLAGS} $(pkg-config --libs mrss)"
+		LDFLAGS="${LDFLAGS} $($(tc-getPKG_CONFIG) --libs mrss)"
 }
 
 src_install() {

diff --git a/net-news/rsstail/rsstail-2.1_p20200310.ebuild b/net-news/rsstail/rsstail-2.1_p20200310.ebuild
index b795f9e6499..183b4698fa0 100644
--- a/net-news/rsstail/rsstail-2.1_p20200310.ebuild
+++ b/net-news/rsstail/rsstail-2.1_p20200310.ebuild
@@ -23,7 +23,7 @@ src_compile() {
 	emake \
 		CC="$(tc-getCC)" \
 		CFLAGS="${CFLAGS} -DVERSION=\\\"\$(VERSION)\\\"" \
-		LDFLAGS="${LDFLAGS} $(pkg-config --libs mrss)"
+		LDFLAGS="${LDFLAGS} $($(tc-getPKG_CONFIG) --libs mrss)"
 }
 
 src_test() {


             reply	other threads:[~2021-04-13  0:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-13  0:26 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-24 10:04 [gentoo-commits] repo/gentoo:master commit in: net-news/rsstail/ Petr Vaněk
2025-01-25 12:25 Arthur Zamarin
2025-01-25 12:06 Sam James
2024-12-24  9:32 Petr Vaněk
2024-12-24  9:32 Petr Vaněk
2023-02-22 19:56 Sam James
2021-01-07  1:24 Sam James
2021-01-04  3:31 Sam James
2020-08-31  3:52 Sam James
2020-08-31  3:44 Sam James
2020-08-31  3:44 Sam James

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=1618273583.7bcf5cc9fbab7c60e979d97cd17a471e8f708771.sam@gentoo \
    --to=sam@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