From 683a4b78fcffa5428bfe1d33937d4612f36ba4b0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Manuel=20R=C3=BCger?= Date: Mon, 7 Oct 2019 16:21:26 +0200 Subject: [PATCH] app-emulation/img: Use -mod vendor MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Manuel Rüger --- app-emulation/img/img-0.5.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.26.2