summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-04-21 15:28:17 -0700
committerZac Medico <zmedico@gentoo.org>2019-04-21 15:29:44 -0700
commit200dace34b8107ca22c1bb6c1084e2d05ce2559c (patch)
tree137afb1b02d186c470567e9452233fcf09ce4dea /app-metrics/redis_exporter
parentdev-util/meson: sync live (diff)
downloadgentoo-200dace34b8107ca22c1bb6c1084e2d05ce2559c.tar.gz
gentoo-200dace34b8107ca22c1bb6c1084e2d05ce2559c.tar.bz2
gentoo-200dace34b8107ca22c1bb6c1084e2d05ce2559c.zip
app-metrics/redis_exporter: filter GOCACHE vars (bug 684052)
Reported-by: Toralf Förster <toralf@gentoo.org> Closes: https://bugs.gentoo.org/684052 Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-metrics/redis_exporter')
-rw-r--r--app-metrics/redis_exporter/redis_exporter-0.20.2.ebuild3
1 files changed, 2 insertions, 1 deletions
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 8ead2d2063de..e6d81a4c74df 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}"