www-apps/hugo: Use -mod vendor
authorManuel Rüger <mrueg@gentoo.org>
Mon, 7 Oct 2019 14:26:23 +0000 (16:26 +0200)
committerManuel Rüger <mrueg@gentoo.org>
Mon, 7 Oct 2019 14:28:13 +0000 (16:28 +0200)
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
www-apps/hugo/hugo-0.48.ebuild

index edcdb92b1ea8abeb4e1f70bb30652c1cada1e747..91e9464ffc870f1987b96305c140f43858988874 100644 (file)
@@ -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