dev-go/godep: filter GOCACHE vars (bug 681204)
authorZac Medico <zachary.medico@sony.com>
Thu, 21 Mar 2019 23:53:10 +0000 (16:53 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 21 Mar 2019 23:57:10 +0000 (16:57 -0700)
Reported-by: Toralf Förster <toralf@gentoo.org>
Closes: https://bugs.gentoo.org/681204
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/godep/godep-74.ebuild
dev-go/godep/godep-9999.ebuild

index e57047912779e89dc24b95ffc1fe71c1daada2a5..a02c38c7d52dfd113a5aed404050e0b4fa6ada84 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -22,7 +22,12 @@ IUSE=""
 DEPEND=""
 RDEPEND=""
 
+src_compile() {
+       export -n GOCACHE XDG_CACHE_HOME #681204
+       golang-build_src_compile
+}
+
 src_install() {
        dobin godep
-dodoc src/${EGO_PN}/*.md
+       dodoc src/${EGO_PN}/*.md
 }
index e57047912779e89dc24b95ffc1fe71c1daada2a5..a02c38c7d52dfd113a5aed404050e0b4fa6ada84 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -22,7 +22,12 @@ IUSE=""
 DEPEND=""
 RDEPEND=""
 
+src_compile() {
+       export -n GOCACHE XDG_CACHE_HOME #681204
+       golang-build_src_compile
+}
+
 src_install() {
        dobin godep
-dodoc src/${EGO_PN}/*.md
+       dodoc src/${EGO_PN}/*.md
 }