From a66fc7b48eb615df8ee27e1822a03c63c5817211 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 7 Apr 2021 06:14:30 +0100 Subject: sys-apps/pcsc-slb-rf72-drv: 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 --- sys-apps/pcsc-slb-rf72-drv/pcsc-slb-rf72-drv-1.1.0-r2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-apps/pcsc-slb-rf72-drv/pcsc-slb-rf72-drv-1.1.0-r2.ebuild b/sys-apps/pcsc-slb-rf72-drv/pcsc-slb-rf72-drv-1.1.0-r2.ebuild index 39b7d34cb31a..8d14bd4b919f 100644 --- a/sys-apps/pcsc-slb-rf72-drv/pcsc-slb-rf72-drv-1.1.0-r2.ebuild +++ b/sys-apps/pcsc-slb-rf72-drv/pcsc-slb-rf72-drv-1.1.0-r2.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 @@ -33,7 +33,7 @@ src_compile() { } src_install() { - local pcscdir="$(pkg-config --variable=usbdropdir libpcsclite)" + local pcscdir="$($(tc-getPKG_CONFIG) --variable=usbdropdir libpcsclite)" local conf="/etc/reader.conf.d/${PN}.conf" einstalldocs -- cgit v1.2.3-65-gdbad