commit:     44c4aaf9f8e24a23007c0ea15a37ba7f216878dc
Author:     William Hubbs <william.hubbs <AT> sony <DOT> com>
AuthorDate: Thu Feb 28 00:12:11 2019 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Feb 28 00:12:43 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44c4aaf9

dev-vcs/hub-2.7.1: Fix GOPATH and GOCACHE settings

Closes: https://bugs.gentoo.org/678974
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 dev-vcs/hub/hub-2.7.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev-vcs/hub/hub-2.7.1.ebuild b/dev-vcs/hub/hub-2.7.1.ebuild
index 0e7673d187a..2747df4dd86 100644
--- a/dev-vcs/hub/hub-2.7.1.ebuild
+++ b/dev-vcs/hub/hub-2.7.1.ebuild
@@ -29,7 +29,8 @@ src_prepare() {
 }
 
 src_compile() {
-       unset GOPATH
+       GOCACHE="${T}"/go-cache \
+       GOPATH= \
        ./script/build -o bin/${PN} || die
 }
 

Reply via email to