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

media-sound/solfege: 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>

 media-sound/solfege/solfege-3.23.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-sound/solfege/solfege-3.23.4.ebuild 
b/media-sound/solfege/solfege-3.23.4.ebuild
index 69f8fc9e709..c79448880de 100644
--- a/media-sound/solfege/solfege-3.23.4.ebuild
+++ b/media-sound/solfege/solfege-3.23.4.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
@@ -57,7 +57,7 @@ src_prepare() {
        sed -i 's/charset=iso-8859-2/charset=utf-8/' po/hu.po.new || die
        mv po/hu.po.new po/hu.po || die
 
-       sed -E 's|(PYTHON_INCLUDES=).+|\1"$(pkg-config --cflags-only-I 
python3)"|g' \
+       sed -E 's|(PYTHON_INCLUDES=).+|\1"$($(tc-getPKG_CONFIG) --cflags-only-I 
python3)"|g' \
                -i acinclude.m4 || die
 
        eautoreconf

Reply via email to