summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2019-01-25 10:38:12 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2019-01-25 12:56:29 -0800
commit2d82b58e6274ebf2d481a7c7aeb325fa7e847f9a (patch)
tree6f642607ed17200e8c7e6c95efb330a786f23658 /sci-mathematics
parentdev-ruby/facter: sandbox tweak for /proc/self/oom_score_adj (diff)
downloadgentoo-2d82b58e6274ebf2d481a7c7aeb325fa7e847f9a.tar.gz
gentoo-2d82b58e6274ebf2d481a7c7aeb325fa7e847f9a.tar.bz2
gentoo-2d82b58e6274ebf2d481a7c7aeb325fa7e847f9a.zip
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@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/octave/octave-4.2.2.ebuild3
-rw-r--r--sci-mathematics/octave/octave-4.4.1.ebuild3
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"