commit:     200dace34b8107ca22c1bb6c1084e2d05ce2559c
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 21 22:28:17 2019 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Apr 21 22:29:44 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=200dace3

app-metrics/redis_exporter: filter GOCACHE vars (bug 684052)

Reported-by: Toralf Förster <toralf <AT> gentoo.org>
Closes: https://bugs.gentoo.org/684052
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 app-metrics/redis_exporter/redis_exporter-0.20.2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-metrics/redis_exporter/redis_exporter-0.20.2.ebuild 
b/app-metrics/redis_exporter/redis_exporter-0.20.2.ebuild
index 8ead2d2063d..e6d81a4c74d 100644
--- a/app-metrics/redis_exporter/redis_exporter-0.20.2.ebuild
+++ b/app-metrics/redis_exporter/redis_exporter-0.20.2.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
@@ -30,6 +30,7 @@ src_prepare() {
 }
 
 src_compile() {
+       export -n GOCACHE XDG_CACHE_HOME #684052
        pushd src/${EGO_PN} || die
        GOPATH="${S}" \
                go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}"

Reply via email to