summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-vcs/hub')
-rw-r--r--dev-vcs/hub/hub-2.14.2-r1.ebuild (renamed from dev-vcs/hub/hub-2.14.2.ebuild)7
1 files changed, 6 insertions, 1 deletions
diff --git a/dev-vcs/hub/hub-2.14.2.ebuild b/dev-vcs/hub/hub-2.14.2-r1.ebuild
index 6f8110005117..ca4e205866ae 100644
--- a/dev-vcs/hub/hub-2.14.2.ebuild
+++ b/dev-vcs/hub/hub-2.14.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -16,6 +16,11 @@ KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
RDEPEND=">=dev-vcs/git-1.7.3"
src_compile() {
+ # The eclass setting GOFLAGS at all overrides this default
+ # in the upstream Makefile. It'll *FALL BACK* to bundled/vendored
+ # modules but without this, it'll try fetching. On platforms
+ # without network-sandbox (or relying on it), this is not okay.
+ export GOFLAGS="${GOFLAGS} -mod=vendor"
emake bin/hub man-pages
}