app-emulation/docker-registry: filter GOCACHE vars (bug 681072)
authorZac Medico <zmedico@gentoo.org>
Wed, 20 Mar 2019 22:45:22 +0000 (15:45 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 20 Mar 2019 22:45:40 +0000 (15:45 -0700)
Reported-by: Toralf Förster <toralf@gentoo.org>
Closes: https://bugs.gentoo.org/681072
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Zac Medico <zmedico@gentoo.org>
app-emulation/docker-registry/docker-registry-2.6.2-r1.ebuild
app-emulation/docker-registry/docker-registry-2.7.0-r1.ebuild
app-emulation/docker-registry/docker-registry-2.7.0.ebuild
app-emulation/docker-registry/docker-registry-2.7.1.ebuild

index 6ea2a86bd59b2bd371a42b019f8325011e9daafa..863b9ac508263c25204dc2f145100e9df00cc137 100644 (file)
@@ -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
 }
index 7f36e363292f51c32e7b5c538cbcc2feb3893a53..c117f1e131431571a63382e63cf948878b7a924f 100644 (file)
@@ -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
 }
index 152ac01305b7951dd7000c6488f93d57d92ef3ff..90b39c280c9e75fd271ff7e6fa6b6070f87e72ce 100644 (file)
@@ -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
 }
index 3ab8dea644890f2ad3e87b648f5de7b1c037ea3c..57b97ad055d0fcfa90db2d0afd175bcabb065f10 100644 (file)
@@ -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
 }