app-metrics/redis_exporter: filter GOCACHE vars (bug 684052)
authorZac Medico <zmedico@gentoo.org>
Sun, 21 Apr 2019 22:28:17 +0000 (15:28 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 21 Apr 2019 22:29:44 +0000 (15:29 -0700)
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>
app-metrics/redis_exporter/redis_exporter-0.20.2.ebuild

index 8ead2d2063ded281b738fee1098e4a05e54a8cb1..e6d81a4c74df4596efa5c991e7f63f5b1480e420 100644 (file)
@@ -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}"