From: Zac Medico Date: Sun, 21 Apr 2019 22:28:17 +0000 (-0700) Subject: app-metrics/redis_exporter: filter GOCACHE vars (bug 684052) X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=200dace34b8107ca22c1bb6c1084e2d05ce2559c;p=gentoo.git app-metrics/redis_exporter: filter GOCACHE vars (bug 684052) Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/684052 Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: Zac Medico --- 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}"