summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2021-10-29 00:09:20 -0700
committerZac Medico <zmedico@gentoo.org>2021-10-29 00:10:26 -0700
commitd6a4cc3140bd740517030a192b2d40b7837eb5f1 (patch)
tree2f8037a9b23abd1b812310c65ee134938366b074
parentmedia-sound/fluidsynth: removed obsolete 2.2.2 (diff)
downloadgentoo-d6a4cc31.tar.gz
gentoo-d6a4cc31.tar.bz2
gentoo-d6a4cc31.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>
-rw-r--r--net-misc/drive/drive-0.3.9.1-r1.ebuild3
-rw-r--r--net-misc/drive/drive-0.3.9.1.ebuild3
2 files changed, 4 insertions, 2 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
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