Skip to content

Commit

Permalink
www-apps/hugo: Use -mod vendor
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Manuel Rüger <[email protected]>
  • Loading branch information
mrueg committed Oct 7, 2019
1 parent be515c5 commit 61985ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www-apps/hugo/hugo-0.48.ebuild
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 61985ac

Please sign in to comment.