From 7eb7b617b0da973e1a57c47142acf66fb1b4c51e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 16 Mar 2019 15:47:33 -0700 Subject: app-emulation/containers-storage: filter GOCACHE vars (bug 678856) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/678856 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Zac Medico --- .../containers-storage/containers-storage-0_pre20180730.ebuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'app-emulation') diff --git a/app-emulation/containers-storage/containers-storage-0_pre20180730.ebuild b/app-emulation/containers-storage/containers-storage-0_pre20180730.ebuild index cd2ef64ffa54..d5caa6e3a626 100644 --- a/app-emulation/containers-storage/containers-storage-0_pre20180730.ebuild +++ b/app-emulation/containers-storage/containers-storage-0_pre20180730.ebuild @@ -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 @@ -86,13 +86,14 @@ src_prepare() { } src_compile() { + export -n GOCACHE XDG_CACHE_HOME #678856 mkdir -p "${S}/src/github.com/pquerna" || die ln -s "${S}/src/${EGO_PN}/vendor/github.com/pquerna/ffjson" "${WORKDIR}/${P}/src/github.com/pquerna/ffjson" || die mkdir -p "${S}/bin" || die cd "${S}/bin" || die - GOPATH="${S}" GOBIN="${S}/bin" GOCACHE=off \ + GOPATH="${S}" GOBIN="${S}/bin" \ go build -v -work -x ${EGO_BUILD_FLAGS} "${S}/src/github.com/pquerna/ffjson/ffjson.go" || die - GOPATH="${S}" GOBIN="${S}/bin" PATH="${S}/bin:${PATH}" GOCACHE=off \ + GOPATH="${S}" GOBIN="${S}/bin" PATH="${S}/bin:${PATH}" \ emake -C "${S}/src/${EGO_PN}" containers-storage docs } -- cgit v1.2.3-65-gdbad