commit:     36b6feea6d79823b991a4e68d1f62c86d8fc13ec
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 25 15:22:40 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Mar 25 15:23:59 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36b6feea

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 <AT> gentoo.org>

 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 0baed94ace9b..8be340a3ea15 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}"

Reply via email to