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 <sam@gentoo.org>
This commit is contained in:
Sam James
2021-04-07 06:14:30 +01:00
parent 7e98e8c288
commit a66fc7b48e

View File

@@ -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