commit: bde22f207cc99be7f8b1c62a1f9461099fc9a6de Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Tue Dec 10 03:33:53 2019 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Tue Dec 10 03:34:08 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bde22f20
app-emulation/reg: export -n GOCACHE Closes: https://bugs.gentoo.org/680166 Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> app-emulation/reg/reg-0.16.1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app-emulation/reg/reg-0.16.1.ebuild b/app-emulation/reg/reg-0.16.1.ebuild index 7a75f0dd2c5..bfd5ac25d06 100644 --- a/app-emulation/reg/reg-0.16.1.ebuild +++ b/app-emulation/reg/reg-0.16.1.ebuild @@ -35,8 +35,9 @@ src_prepare() { } src_compile() { + export -n GOCACHE GOPATH XDG_CACHE_HOME pushd src/${EGO_PN} || die - GOPATH="${S}" GO111MODULE=on go build -mod=vendor -v -ldflags "-X ${EGO_PN}/version.GITCOMMIT=${GIT_COMMIT} -X ${EGO_PN}/version.VERSION=${PV}" -o "${S}"/bin/reg . || die + GO111MODULE=on go build -mod=vendor -v -ldflags "-X ${EGO_PN}/version.GITCOMMIT=${GIT_COMMIT} -X ${EGO_PN}/version.VERSION=${PV}" -o "${S}"/bin/reg . || die popd || die }
