From: Zac Medico Date: Thu, 21 Mar 2019 23:53:10 +0000 (-0700) Subject: dev-go/godep: filter GOCACHE vars (bug 681204) X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ec7f1d5ae79e9ff8a33ae9356f060071bb34c7f4;p=gentoo.git dev-go/godep: filter GOCACHE vars (bug 681204) Reported-by: Toralf Förster 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 --- diff --git a/dev-go/godep/godep-74.ebuild b/dev-go/godep/godep-74.ebuild index e57047912779..a02c38c7d52d 100644 --- a/dev-go/godep/godep-74.ebuild +++ b/dev-go/godep/godep-74.ebuild @@ -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 } diff --git a/dev-go/godep/godep-9999.ebuild b/dev-go/godep/godep-9999.ebuild index e57047912779..a02c38c7d52d 100644 --- a/dev-go/godep/godep-9999.ebuild +++ b/dev-go/godep/godep-9999.ebuild @@ -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 }