app-emulation/docker-registry: filter GOCACHE vars (bug 681072)

Reported-by: Toralf Förster <toralf@gentoo.org>
Closes: https://bugs.gentoo.org/681072
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Zac Medico <zmedico@gentoo.org>
This commit is contained in:
Zac Medico
2019-03-20 15:45:22 -07:00
parent d74dfc9314
commit 496d7b5ac1
4 changed files with 7 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -23,6 +23,7 @@ pkg_setup() {
}
src_compile() {
export -n GOCACHE XDG_CACHE_HOME #681072
GOPATH="${S}" \
go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}/..." || die
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -28,6 +28,7 @@ src_prepare() {
}
src_compile() {
export -n GOCACHE XDG_CACHE_HOME #681072
GOPATH="${S}" \
go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}/..." || die
}

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -21,6 +21,7 @@ pkg_setup() {
}
src_compile() {
export -n GOCACHE XDG_CACHE_HOME #681072
GOPATH="${S}" \
go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}/..." || die
}

View File

@@ -31,6 +31,7 @@ src_prepare() {
}
src_compile() {
export -n GOCACHE XDG_CACHE_HOME #681072
GOPATH="${S}" GO_BUILD_FLAGS="-v" emake -C src/${EGO_PN} binaries
}