From: Manuel Rüger Date: Mon, 7 Oct 2019 14:21:26 +0000 (+0200) Subject: app-emulation/img: Use -mod vendor X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=683a4b78fcffa5428bfe1d33937d4612f36ba4b0;p=gentoo.git app-emulation/img: Use -mod vendor Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Manuel Rüger --- diff --git a/app-emulation/img/img-0.5.7.ebuild b/app-emulation/img/img-0.5.7.ebuild index a83d24d7c281..21373b5f486d 100644 --- a/app-emulation/img/img-0.5.7.ebuild +++ b/app-emulation/img/img-0.5.7.ebuild @@ -21,7 +21,7 @@ RESTRICT="test" src_compile() { local TAGS=$(usex seccomp 'seccomp' '') pushd src/${EGO_PN} || die - GOPATH="${S}" go build -tags "noembed ${TAGS}" -v -ldflags "-X ${EGO_PN}/version.GITCOMMIT=${GIT_COMMIT} -X ${EGO_PN}/version.VERSION=${PV}" -o "${S}"/bin/img . || die + GOPATH="${S}" go build -mod vendor -tags "noembed ${TAGS}" -v -ldflags "-X ${EGO_PN}/version.GITCOMMIT=${GIT_COMMIT} -X ${EGO_PN}/version.VERSION=${PV}" -o "${S}"/bin/img . || die popd || die }