From 2d82b58e6274ebf2d481a7c7aeb325fa7e847f9a Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Fri, 25 Jan 2019 10:38:12 -0800 Subject: [PATCH] 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 --- sci-mathematics/octave/octave-4.2.2.ebuild | 3 ++- sci-mathematics/octave/octave-4.4.1.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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" -- 2.26.2