diff --git a/app-emulation/docker-registry/docker-registry-2.6.2-r1.ebuild b/app-emulation/docker-registry/docker-registry-2.6.2-r1.ebuild index 6ea2a86bd59b2..863b9ac508263 100644 --- a/app-emulation/docker-registry/docker-registry-2.6.2-r1.ebuild +++ b/app-emulation/docker-registry/docker-registry-2.6.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -23,6 +23,7 @@ pkg_setup() { } src_compile() { + export -n GOCACHE XDG_CACHE_HOME #681072 GOPATH="${S}" \ go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}/..." || die } diff --git a/app-emulation/docker-registry/docker-registry-2.7.0-r1.ebuild b/app-emulation/docker-registry/docker-registry-2.7.0-r1.ebuild index 7f36e363292f5..c117f1e131431 100644 --- a/app-emulation/docker-registry/docker-registry-2.7.0-r1.ebuild +++ b/app-emulation/docker-registry/docker-registry-2.7.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -28,6 +28,7 @@ src_prepare() { } src_compile() { + export -n GOCACHE XDG_CACHE_HOME #681072 GOPATH="${S}" \ go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}/..." || die } diff --git a/app-emulation/docker-registry/docker-registry-2.7.0.ebuild b/app-emulation/docker-registry/docker-registry-2.7.0.ebuild index 152ac01305b79..90b39c280c9e7 100644 --- a/app-emulation/docker-registry/docker-registry-2.7.0.ebuild +++ b/app-emulation/docker-registry/docker-registry-2.7.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -21,6 +21,7 @@ pkg_setup() { } src_compile() { + export -n GOCACHE XDG_CACHE_HOME #681072 GOPATH="${S}" \ go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}/..." || die } diff --git a/app-emulation/docker-registry/docker-registry-2.7.1.ebuild b/app-emulation/docker-registry/docker-registry-2.7.1.ebuild index 3ab8dea644890..57b97ad055d0f 100644 --- a/app-emulation/docker-registry/docker-registry-2.7.1.ebuild +++ b/app-emulation/docker-registry/docker-registry-2.7.1.ebuild @@ -31,6 +31,7 @@ src_prepare() { } src_compile() { + export -n GOCACHE XDG_CACHE_HOME #681072 GOPATH="${S}" GO_BUILD_FLAGS="-v" emake -C src/${EGO_PN} binaries }