diff --git a/dev-go/go-tools/go-tools-0_pre20180817.ebuild b/dev-go/go-tools/go-tools-0_pre20180817.ebuild index 5191bd7e69ca1..a7bd294e62037 100644 --- a/dev-go/go-tools/go-tools-0_pre20180817.ebuild +++ b/dev-go/go-tools/go-tools-0_pre20180817.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 @@ -47,6 +47,7 @@ src_prepare() { } src_compile() { + export -n GOCACHE XDG_CACHE_HOME #678964 # Generate static.go with favicon included pushd src/golang.org/x/tools/godoc/static >/dev/null || die GOPATH="${S}:$(get_golibdir_gopath)" \ diff --git a/dev-go/go-tools/go-tools-9999.ebuild b/dev-go/go-tools/go-tools-9999.ebuild index fb8bd018f99dd..ffc68729ed0bc 100644 --- a/dev-go/go-tools/go-tools-9999.ebuild +++ b/dev-go/go-tools/go-tools-9999.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 @@ -65,6 +65,7 @@ src_prepare() { } src_compile() { + export -n GOCACHE XDG_CACHE_HOME #678964 # Generate static.go with favicon included pushd src/golang.org/x/tools/godoc/static >/dev/null || die GOPATH="${S}" GOBIN="${S}/bin" \