From 785944dfedc274110bcf40ab9815c23927462cc4 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 7 Apr 2021 06:13:40 +0100 Subject: 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 --- media-sound/solfege/solfege-3.23.4.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'media-sound/solfege') diff --git a/media-sound/solfege/solfege-3.23.4.ebuild b/media-sound/solfege/solfege-3.23.4.ebuild index 69f8fc9e7090..c79448880de0 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 -- cgit v1.2.3-65-gdbad