dev-go/go-text: filter GOCACHE vars (bug 680946)
authorZac Medico <zmedico@gentoo.org>
Tue, 19 Mar 2019 20:17:47 +0000 (13:17 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 19 Mar 2019 20:17:52 +0000 (13:17 -0700)
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>
dev-go/go-text/go-text-0.3.0.ebuild
dev-go/go-text/go-text-0_pre20160211.ebuild
dev-go/go-text/go-text-9999.ebuild

index 84a3b008c1033d4c708b2f933319c4289e7076e5..c590eadea63f1c1afdd39ae64347b0f0c6dcb5e9 100644 (file)
@@ -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
@@ -24,6 +24,7 @@ DEPEND=">=dev-go/go-tools-0_pre20180817"
 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.
index 979b835ba8c6be6848b10e7ab07c370e189c390a..a723fc4cfc5ef485ed0003c6946954707e0f4833 100644 (file)
@@ -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
index 4d851787c267157303d02a5a1003a71636f8496c..0740869fb574c0a9065842f432c36cdc43b5aafa 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -25,6 +25,7 @@ DEPEND=">=dev-go/go-tools-0_pre20180817"
 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.