app-text/texlive-core: use tc-getPKG_CONFIG

This hopefully fixes installation on prefix systems (bug #927449), where
we should now pick-up the prefix varaint of pkg-config.

Bug: https://bugs.gentoo.org/927449
Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
Florian Schmaus
2024-03-25 16:22:40 +01:00
parent e114143d34
commit 36b6feea6d

View File

@@ -216,7 +216,7 @@ src_prepare() {
cd "${S}" || die
sed -i \
-e "s,/usr/include /usr/local/include.*echo \$KPATHSEA_INCLUDES.*,$(pkg-config kpathsea --variable=includedir)\"," \
-e "s,/usr/include /usr/local/include.*echo \$KPATHSEA_INCLUDES.*,$($(tc-getPKG_CONFIG) kpathsea --variable=includedir)\"," \
texk/web2c/configure || die
local patch_dir="${WORKDIR}/tex-patches-${GENTOO_TEX_PATCHES_NUM}"