commit:     2d82b58e6274ebf2d481a7c7aeb325fa7e847f9a
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 25 18:38:12 2019 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Fri Jan 25 20:56:29 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d82b58e

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 <robbat2 <AT> gentoo.org>

 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 cf855684553..f326d2dd104 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 3e298f6bd61..ac34dd412bb 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"

Reply via email to