diff --git a/app-doc/texlive/autobuild/build b/app-doc/texlive/autobuild/build index f7f20dd7351..84394ccc3c5 100644 --- a/app-doc/texlive/autobuild/build +++ b/app-doc/texlive/autobuild/build @@ -44,8 +44,14 @@ make abinfo "Installing TeX Live binaries..." make install DESTDIR="$PKGDIR" + abinfo "Creating symlinks to actual binaries.." -make texlinks DESTDIR="$PKGDIR" +# FIXME: Symlink installation requires kpsewhich, which depends on +# libkpathsea.so.6, which is not yet available in LD_LIBRARY_PATH. +# +# Ref: https://gitlab.archlinux.org/archlinux/packaging/packages/texlive-bin/-/blob/f83b722db0c99cef02c18db41947b95299f0c735/PKGBUILD#L115 +LD_PRELOAD="$PKGDIR/usr/lib/libkpathsea.so.6" \ + make texlinks DESTDIR="$PKGDIR" cd .. diff --git a/app-doc/texlive/autobuild/overrides/etc/texmf/web2c/texmf.cnf b/app-doc/texlive/autobuild/overrides/etc/texmf/web2c/texmf.cnf index b8289fc065f..65bfeeb89da 100644 --- a/app-doc/texlive/autobuild/overrides/etc/texmf/web2c/texmf.cnf +++ b/app-doc/texlive/autobuild/overrides/etc/texmf/web2c/texmf.cnf @@ -734,7 +734,7 @@ buf_size = 200000 % for all known free hyphenation patterns to be loaded simultaneously % (as TeX Live does). % -trie_size = 1000000 +trie_size = 4194303 hyph_size = 8191 % prime number of hyphenation exceptions, >610, <32767. % http://primes.utm.edu/curios/page.php/8191.html