Reported-by: Toralf Förster <toralf@gentoo.org>
Closes: https://bugs.gentoo.org/680946
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Zac Medico <zmedico@gentoo.org>
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
RDEPEND=""
src_compile() {
+ export -n GOCACHE XDG_CACHE_HOME #680946
# Create an isolated golibdir in order to avoid an
# "use of internal package not allowed" error when
# and older version is installed.
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
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
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
RDEPEND=""
src_compile() {
+ export -n GOCACHE XDG_CACHE_HOME #680946
# Create an isolated golibdir in order to avoid an
# "use of internal package not allowed" error when
# and older version is installed.