diff options
author | 2021-10-29 00:09:20 -0700 | |
---|---|---|
committer | 2021-10-29 00:10:26 -0700 | |
commit | d6a4cc3140bd740517030a192b2d40b7837eb5f1 (patch) | |
tree | 2f8037a9b23abd1b812310c65ee134938366b074 /net-misc/drive/drive-0.3.9.1-r1.ebuild | |
parent | media-sound/fluidsynth: removed obsolete 2.2.2 (diff) | |
download | gentoo-d6a4cc3140bd740517030a192b2d40b7837eb5f1.tar.gz gentoo-d6a4cc3140bd740517030a192b2d40b7837eb5f1.tar.bz2 gentoo-d6a4cc3140bd740517030a192b2d40b7837eb5f1.zip |
net-misc/drive: GOCACHE safety
Bug: https://bugs.gentoo.org/679328
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'net-misc/drive/drive-0.3.9.1-r1.ebuild')
-rw-r--r-- | net-misc/drive/drive-0.3.9.1-r1.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net-misc/drive/drive-0.3.9.1-r1.ebuild b/net-misc/drive/drive-0.3.9.1-r1.ebuild index d58b9c28a5d3..b1fe7886e7ab 100644 --- a/net-misc/drive/drive-0.3.9.1-r1.ebuild +++ b/net-misc/drive/drive-0.3.9.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -54,6 +54,7 @@ SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz ${EGO_VENDOR_URI}" src_compile() { + export -n GOCACHE XDG_CACHE_HOME GOPATH="${S}" \ go install -v -work -x ${EGO_BUILD_FLAGS} \ "${EGO_PN}"/{cmd/drive,drive-server} || die |