summaryrefslogtreecommitdiff
path: root/Mk/Uses/go.mk
diff options
context:
space:
mode:
authorDmitri Goutnik <dmgk@FreeBSD.org>2020-04-02 17:39:14 +0000
committerDmitri Goutnik <dmgk@FreeBSD.org>2020-04-02 17:39:14 +0000
commit442465ab7235ba701a28717eae64eb02e5ce885e (patch)
tree3a1c61929fed296629a5eeb00af9838ffb1b10f2 /Mk/Uses/go.mk
parentlang/go: relax module consistency checks if vendor/modules.txt is missing (diff)
Mk/Uses/go.mk: Set GO_NO_VENDOR_CHECKS=1
Set GO_NO_VENDOR_CHECKS=1 to signal lang/go to relax vendor checks during ports build. PR: 244783 Reported by: Christopher Hall <hsw@bitmark.com> Reviewed by: mikael swills yuri MFH: 2020Q2 Differential Revision: https://reviews.freebsd.org/D24122
Notes
Notes: svn path=/head/; revision=530388
Diffstat (limited to 'Mk/Uses/go.mk')
-rw-r--r--Mk/Uses/go.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/Uses/go.mk b/Mk/Uses/go.mk
index cd7eb5f40894..c45181bd6156 100644
--- a/Mk/Uses/go.mk
+++ b/Mk/Uses/go.mk
@@ -107,7 +107,8 @@ GO_BUILDFLAGS+= -mod=vendor
GO_TESTFLAGS+= -mod=vendor
GO_WRKSRC= ${WRKSRC}
GO_ENV+= GOPATH="" \
- GOBIN="${GO_WRKDIR_BIN}"
+ GOBIN="${GO_WRKDIR_BIN}" \
+ GO_NO_VENDOR_CHECKS=1
.else
GO_WRKSRC= ${WRKDIR}/src/${GO_PKGNAME}
GO_ENV+= GOPATH="${WRKDIR}" \