commit:     018b1ccc54ca4e2a498801bc2be6c4d6752244c7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  7 05:14:20 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 13 00:26:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=018b1ccc

sys-apps/ifd-gempc: 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>

 sys-apps/ifd-gempc/ifd-gempc-1.0.7.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/ifd-gempc/ifd-gempc-1.0.7.ebuild 
b/sys-apps/ifd-gempc/ifd-gempc-1.0.7.ebuild
index 7e89f583238..8c3677634c1 100644
--- a/sys-apps/ifd-gempc/ifd-gempc-1.0.7.ebuild
+++ b/sys-apps/ifd-gempc/ifd-gempc-1.0.7.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
@@ -31,7 +31,7 @@ src_install() {
        emake CC="$(tc-getCC)" DESTDIR="${D}" install
        einstalldocs
 
-       local pcscdir="$(pkg-config --variable=usbdropdir libpcsclite)"
+       local pcscdir="$($(tc-getPKG_CONFIG) --variable=usbdropdir libpcsclite)"
        local conf="/etc/reader.conf.d/${PN}.conf"
        dodir "$(dirname "${conf}")"
        insinto "$(dirname "${conf}")"

Reply via email to