dev-go/coveraggregator: filter GOCACHE vars (bug 681202)
authorZac Medico <zachary.medico@sony.com>
Fri, 22 Mar 2019 00:01:54 +0000 (17:01 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 22 Mar 2019 00:02:52 +0000 (17:02 -0700)
Reported-by: Toralf Förster <toralf@gentoo.org>
Closes: https://bugs.gentoo.org/681202
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Zac Medico <zmedico@gentoo.org>
dev-go/coveraggregator/coveraggregator-0_pre20170216.ebuild

index 5f38582a0acf8ad066df21fb5d203718d4fe9bf5..65f3de29613c06b710544eda863a0c1ddd3ab559 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
@@ -16,6 +16,11 @@ IUSE=""
 DEPEND="dev-go/go-tools:="
 RDEPEND=""
 
+src_compile() {
+       export -n GOCACHE XDG_CACHE_HOME #681202
+       golang-build_src_compile
+}
+
 src_install() {
        dobin ${PN}
        dodoc src/${EGO_PN}/README.md