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: games-fps/darkplaces/
Date: Tue, 13 Apr 2021 00:26:52 +0000 (UTC)	[thread overview]
Message-ID: <1618273572.c909bc83e96d909b50264bc4103988830f8f2dbe.sam@gentoo> (raw)

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

games-fps/darkplaces: 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>

 games-fps/darkplaces/darkplaces-20140513-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/games-fps/darkplaces/darkplaces-20140513-r1.ebuild b/games-fps/darkplaces/darkplaces-20140513-r1.ebuild
index 7ba3bcdb4ce..c0fafee1498 100644
--- a/games-fps/darkplaces/darkplaces-20140513-r1.ebuild
+++ b/games-fps/darkplaces/darkplaces-20140513-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -92,7 +92,7 @@ src_prepare() {
 	# Only additional CFLAGS optimization is the -march flag
 	local march=$(get-flag -march)
 	sed -i \
-		-e "s:-lasound:$(pkg-config --libs alsa):" \
+		-e "s:-lasound:$($(tc-getPKG_CONFIG) --libs alsa):" \
 		-e "/^CPUOPTIMIZATIONS/d" \
 		-e '/^OPTIM_RELEASE/s/=.*/=$(CFLAGS)/' \
 		-e '/^OPTIM_DEBUG/s/=.*/=$(CFLAGS)/' \


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

Thread overview: 14+ 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 --
2024-03-06  6:19 [gentoo-commits] repo/gentoo:master commit in: games-fps/darkplaces/ Sam James
2024-03-06  6:19 Sam James
2021-09-12 20:20 Ionen Wolkens
2021-08-19  0:39 Sam James
2021-04-25 21:01 Sam James
2021-04-25 19:13 Sam James
2018-04-30 18:01 Pacho Ramos
2018-04-29 17:13 Pacho Ramos
2018-04-29 17:13 Pacho Ramos
2016-02-16  1:38 Michael Sterrett
2016-01-15  9:03 Agostino Sarubbo
2015-12-29  7:41 Michael Sterrett
2015-12-18  0:47 Michael Sterrett

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=1618273572.c909bc83e96d909b50264bc4103988830f8f2dbe.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