commit:     683a4b78fcffa5428bfe1d33937d4612f36ba4b0
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  7 14:21:26 2019 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Oct  7 14:21:26 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=683a4b78

app-emulation/img: Use -mod vendor

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org>

 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 a83d24d7c28..21373b5f486 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
 }
 

Reply via email to