From: Manuel Rüger Date: Mon, 7 Oct 2019 14:26:23 +0000 (+0200) Subject: www-apps/hugo: Use -mod vendor X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=61985aca9c332576ed6550a6401b056bf81a6ae8;p=gentoo.git www-apps/hugo: Use -mod vendor Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Manuel Rüger --- diff --git a/www-apps/hugo/hugo-0.48.ebuild b/www-apps/hugo/hugo-0.48.ebuild index edcdb92b1ea8..91e9464ffc87 100644 --- a/www-apps/hugo/hugo-0.48.ebuild +++ b/www-apps/hugo/hugo-0.48.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 @@ -87,7 +87,7 @@ RESTRICT="test" src_compile() { pushd src/${EGO_PN} || die - GOPATH="${S}" go install -v -ldflags "-X ${EGO_PN}/hugolib.CommitHash=${GIT_COMMIT}" $(usex sass "-tags extended" "") || die + GOPATH="${S}" go install -mod vendor -v -ldflags "-X ${EGO_PN}/hugolib.CommitHash=${GIT_COMMIT}" $(usex sass "-tags extended" "") || die popd || die bin/hugo gen man || die bin/hugo gen autocomplete --completionfile hugo || die