From: Robin H. Johnson Date: Fri, 25 Jan 2019 18:38:12 +0000 (-0800) Subject: sci-mathematics/octave: fix USE=doc sandbox trip due to tex fonts X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2d82b58e6274ebf2d481a7c7aeb325fa7e847f9a;p=gentoo.git sci-mathematics/octave: fix USE=doc sandbox trip due to tex fonts Package-Manager: Portage-2.3.56, Repoman-2.3.12 Signed-off-by: Robin H. Johnson --- diff --git a/sci-mathematics/octave/octave-4.2.2.ebuild b/sci-mathematics/octave/octave-4.2.2.ebuild index cf8556845539..f326d2dd1043 100644 --- a/sci-mathematics/octave/octave-4.2.2.ebuild +++ b/sci-mathematics/octave/octave-4.2.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -155,6 +155,7 @@ src_configure() { } src_compile() { + export VARTEXFONTS="${T}/fonts" # otherwise it will write to /var/cache/fonts/ and trip sandbox default if use java; then pax-mark m "${S}/src/.libs/octave-cli" diff --git a/sci-mathematics/octave/octave-4.4.1.ebuild b/sci-mathematics/octave/octave-4.4.1.ebuild index 3e298f6bd613..ac34dd412bb4 100644 --- a/sci-mathematics/octave/octave-4.4.1.ebuild +++ b/sci-mathematics/octave/octave-4.4.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -160,6 +160,7 @@ src_configure() { } src_compile() { + export VARTEXFONTS="${T}/fonts" # otherwise it will write to /var/cache/fonts/ and trip sandbox default if use java; then pax-mark m "${S}/src/.libs/octave-cli"