commit:     61985aca9c332576ed6550a6401b056bf81a6ae8
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  7 14:26:23 2019 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Oct  7 14:28:13 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61985aca

www-apps/hugo: Use -mod vendor

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

 www-apps/hugo/hugo-0.48.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www-apps/hugo/hugo-0.48.ebuild b/www-apps/hugo/hugo-0.48.ebuild
index edcdb92b1ea..91e9464ffc8 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

Reply via email to