From 36b6feea6d79823b991a4e68d1f62c86d8fc13ec Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Mon, 25 Mar 2024 16:22:40 +0100 Subject: [PATCH] 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 --- app-text/texlive-core/texlive-core-2023-r5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-text/texlive-core/texlive-core-2023-r5.ebuild b/app-text/texlive-core/texlive-core-2023-r5.ebuild index 0baed94ace9bd..8be340a3ea150 100644 --- a/app-text/texlive-core/texlive-core-2023-r5.ebuild +++ b/app-text/texlive-core/texlive-core-2023-r5.ebuild @@ -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}"