summaryrefslogtreecommitdiff
path: root/dev-go/go-text/go-text-0_pre20160211.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-go/go-text/go-text-0_pre20160211.ebuild')
-rw-r--r--dev-go/go-text/go-text-0_pre20160211.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-go/go-text/go-text-0_pre20160211.ebuild b/dev-go/go-text/go-text-0_pre20160211.ebuild
index 979b835ba8c6..a723fc4cfc5e 100644
--- a/dev-go/go-text/go-text-0_pre20160211.ebuild
+++ b/dev-go/go-text/go-text-0_pre20160211.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -25,6 +25,7 @@ DEPEND=""
RDEPEND=""
src_compile() {
+ export -n GOCACHE XDG_CACHE_HOME #680946
# Create a writable GOROOT in order to avoid sandbox violations.
cp -sR "$(go env GOROOT)" "${T}/goroot" || die
rm -rf "${T}/goroot/src/${EGO_SRC}" || die