From: Zac Medico Date: Tue, 19 Mar 2019 20:17:47 +0000 (-0700) Subject: dev-go/go-text: filter GOCACHE vars (bug 680946) X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=30cdd8569e83c15fa24520ccc3cdb9dafe1f2342;p=gentoo.git dev-go/go-text: filter GOCACHE vars (bug 680946) Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/680946 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Zac Medico --- diff --git a/dev-go/go-text/go-text-0.3.0.ebuild b/dev-go/go-text/go-text-0.3.0.ebuild index 84a3b008c103..c590eadea63f 100644 --- a/dev-go/go-text/go-text-0.3.0.ebuild +++ b/dev-go/go-text/go-text-0.3.0.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 @@ -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. 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 diff --git a/dev-go/go-text/go-text-9999.ebuild b/dev-go/go-text/go-text-9999.ebuild index 4d851787c267..0740869fb574 100644 --- a/dev-go/go-text/go-text-9999.ebuild +++ b/dev-go/go-text/go-text-9999.ebuild @@ -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.