commit: 29c346fe219cc5c367ca23e4dd03a9e0026091b8 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Wed May 11 09:01:55 2016 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Wed May 11 09:01:55 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29c346fe
eclass/latex-package.eclass: set VARTEXFONTS inside the sandbox when possibly compiling latex files. Should help in bugs like #580912 eclass/latex-package.eclass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass index a17e5b3..bfddfad 100644 --- a/eclass/latex-package.eclass +++ b/eclass/latex-package.eclass @@ -96,6 +96,10 @@ latex-package_has_tetex_3() { # for a TeX installation latex-package_src_doinstall() { debug-print function $FUNCNAME $* + + # Avoid generating font cache outside of the sandbox + export VARTEXFONTS="${T}/fonts" + # This actually follows the directions for a "single-user" system # at http://www.ctan.org/installationadvice/ modified for gentoo. [ -z "$1" ] && latex-package_src_install all