From ec7f1d5ae79e9ff8a33ae9356f060071bb34c7f4 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 21 Mar 2019 16:53:10 -0700 Subject: [PATCH] dev-go/godep: filter GOCACHE vars (bug 681204) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- dev-go/godep/godep-74.ebuild | 9 +++++++-- dev-go/godep/godep-9999.ebuild | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/dev-go/godep/godep-74.ebuild b/dev-go/godep/godep-74.ebuild index e57047912779e..a02c38c7d52df 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 e57047912779e..a02c38c7d52df 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 }