summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorZac Medico <zachary.medico@sony.com>2019-03-21 16:53:10 -0700
committerZac Medico <zmedico@gentoo.org>2019-03-21 16:57:10 -0700
commitec7f1d5ae79e9ff8a33ae9356f060071bb34c7f4 (patch)
tree574689e6021d20607e8d658ac875ac91eb3f152b /dev-go
parentsys-kernel/genkernel: update live ebuild (diff)
downloadgentoo-ec7f1d5ae79e9ff8a33ae9356f060071bb34c7f4.tar.gz
gentoo-ec7f1d5ae79e9ff8a33ae9356f060071bb34c7f4.tar.bz2
gentoo-ec7f1d5ae79e9ff8a33ae9356f060071bb34c7f4.zip
dev-go/godep: filter GOCACHE vars (bug 681204)
Reported-by: Toralf Förster <toralf@gentoo.org> 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 <zmedico@gentoo.org>
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/godep/godep-74.ebuild9
-rw-r--r--dev-go/godep/godep-9999.ebuild9
2 files changed, 14 insertions, 4 deletions
diff --git a/dev-go/godep/godep-74.ebuild b/dev-go/godep/godep-74.ebuild
index e5704791277..a02c38c7d52 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 e5704791277..a02c38c7d52 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
}