diff options
author | Zac Medico <zmedico@gentoo.org> | 2021-10-29 00:09:20 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2021-10-29 00:10:26 -0700 |
commit | d6a4cc3140bd740517030a192b2d40b7837eb5f1 (patch) | |
tree | 2f8037a9b23abd1b812310c65ee134938366b074 /net-misc/drive/drive-0.3.9.1.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.ebuild')
-rw-r--r-- | net-misc/drive/drive-0.3.9.1.ebuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net-misc/drive/drive-0.3.9.1.ebuild b/net-misc/drive/drive-0.3.9.1.ebuild index 996aee6541f6..8ddfbb9f66f5 100644 --- a/net-misc/drive/drive-0.3.9.1.ebuild +++ b/net-misc/drive/drive-0.3.9.1.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=6 @@ -51,6 +51,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 |