mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-go/go-tools: filter GOCACHE vars (bug 678964)
Reported-by: Toralf Förster <toralf@gentoo.org> Closes: https://bugs.gentoo.org/678964 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Zac Medico <zmedico@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
@@ -47,6 +47,7 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export -n GOCACHE XDG_CACHE_HOME #678964
|
||||
# Generate static.go with favicon included
|
||||
pushd src/golang.org/x/tools/godoc/static >/dev/null || die
|
||||
GOPATH="${S}:$(get_golibdir_gopath)" \
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
@@ -65,6 +65,7 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export -n GOCACHE XDG_CACHE_HOME #678964
|
||||
# Generate static.go with favicon included
|
||||
pushd src/golang.org/x/tools/godoc/static >/dev/null || die
|
||||
GOPATH="${S}" GOBIN="${S}/bin" \
|
||||
|
||||
Reference in New Issue
Block a user