commit: 30cdd8569e83c15fa24520ccc3cdb9dafe1f2342 Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Tue Mar 19 20:17:47 2019 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Tue Mar 19 20:17:52 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30cdd856
dev-go/go-text: filter GOCACHE vars (bug 680946) Reported-by: Toralf Förster <toralf <AT> gentoo.org> Closes: https://bugs.gentoo.org/680946 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> dev-go/go-text/go-text-0.3.0.ebuild | 3 ++- dev-go/go-text/go-text-0_pre20160211.ebuild | 3 ++- dev-go/go-text/go-text-9999.ebuild | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) 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 84a3b008c10..c590eadea63 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 979b835ba8c..a723fc4cfc5 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 4d851787c26..0740869fb57 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.