commit: 998842fde5933c97c5147652503839f9c0e58c22 Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Wed Mar 27 12:26:02 2024 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Wed Mar 27 12:42:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=998842fd
app-text/texlive-core: configure --with-kpathsea-includes, fixes prefix Prefix installation of texlive-core-2023-r5 was broken, because somewhere between -r1 and -r5 we dropped --with-kpathsea-includes. Thanks to Steven Trogdon for reporting this and providing valuable feedback. Closes: https://bugs.gentoo.org/927449 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> app-text/texlive-core/texlive-core-2023-r5.ebuild | 4 +++- 1 file changed, 3 insertions(+), 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 8be340a3ea15..3fc171cb6102 100644 --- a/app-text/texlive-core/texlive-core-2023-r5.ebuild +++ b/app-text/texlive-core/texlive-core-2023-r5.ebuild @@ -215,8 +215,9 @@ src_prepare() { cd "${S}" || die + TL_KPATHSEA_INCLUDES=$($(tc-getPKG_CONFIG) kpathsea --variable=includedir || die "failed to invoke pkg-config") sed -i \ - -e "s,/usr/include /usr/local/include.*echo \$KPATHSEA_INCLUDES.*,$($(tc-getPKG_CONFIG) kpathsea --variable=includedir)\"," \ + -e "s,/usr/include /usr/local/include.*echo \$KPATHSEA_INCLUDES.*,${TL_KPATHSEA_INCLUDES}\"," \ texk/web2c/configure || die local patch_dir="${WORKDIR}/tex-patches-${GENTOO_TEX_PATCHES_NUM}" @@ -252,6 +253,7 @@ src_configure() { --with-system-libpng --with-system-teckit --with-system-kpathsea + --with-kpathsea-includes="${TL_KPATHSEA_INCLUDES}" --with-system-icu --with-system-ptexenc --with-system-harfbuzz
