Skip to content

Commit

Permalink
dev-go/godep: filter GOCACHE vars (bug 681204)
Browse files Browse the repository at this point in the history
Reported-by: Toralf Förster <[email protected]>
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 <[email protected]>
  • Loading branch information
zmedico committed Mar 21, 2019
1 parent 79d6327 commit ec7f1d5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions dev-go/godep/godep-74.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
}
9 changes: 7 additions & 2 deletions dev-go/godep/godep-9999.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
}

0 comments on commit ec7f1d5

Please sign in to comment.