lang/go-devel: Update to 1.16beta1

Changes:	https://tip.golang.org/doc/go1.16
This commit is contained in:
Dmitri Goutnik 2020-12-21 20:10:44 +00:00
parent c51f3afaf5
commit d18622ce33
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=558856
3 changed files with 8 additions and 8 deletions

View File

@ -1,7 +1,7 @@
# Created by: Devon H. O'Dell <devon.odell@gmail.com>
# $FreeBSD$
PORTVERSION= g20201014
PORTVERSION= g20201217
# Always set PORTREVISION and PORTEPOCH explicitly as otherwise it is inherited from lang/go
PORTREVISION= 0
PORTEPOCH= 0
@ -14,7 +14,7 @@ COMMENT= Go programming language (development version)
USE_GITHUB= yes
GH_ACCOUNT= golang
GH_TAGNAME= 1984ee00048b63eacd2155cd6d74a2d13e998272
GH_TAGNAME= 2ff33f5e443165e55a080f3a649e4c070c4096d1
CONFLICTS_INSTALL= go

View File

@ -1,8 +1,8 @@
TIMESTAMP = 1602721140
TIMESTAMP = 1608233759
SHA256 (go-freebsd-arm64-go1.14.tar.xz) = f8b0cf0d323e581c9e3e0d5c217847a3e0294fcc92dbac92a5b02cea9d97ad8d
SIZE (go-freebsd-arm64-go1.14.tar.xz) = 34944548
SHA256 (golang-go-g20201014-1984ee00048b63eacd2155cd6d74a2d13e998272_GH0.tar.gz) = d7d725c805cf34a7f8f5329027ea1606aacfbb767e7d8a94ae94475b10f9eecf
SIZE (golang-go-g20201014-1984ee00048b63eacd2155cd6d74a2d13e998272_GH0.tar.gz) = 22976536
SHA256 (golang-go-g20201217-2ff33f5e443165e55a080f3a649e4c070c4096d1_GH0.tar.gz) = 564708d32db883f4b16cc9ade188189be990bf67d33fa748ff97a58df7219239
SIZE (golang-go-g20201217-2ff33f5e443165e55a080f3a649e4c070c4096d1_GH0.tar.gz) = 23345862
SHA256 (go-freebsd-amd64-go1.14.tar.xz) = 3b259247fb228258a4f31e283e9aa23cafd590eabce334666a9e9b2ffe47c19b
SIZE (go-freebsd-amd64-go1.14.tar.xz) = 35927980
SHA256 (go-freebsd-arm6-go1.14.tar.xz) = 5846b4bbc6881c6c04daffbdb647d53a5b002a0e177271ecfcabef734b209614

View File

@ -1,11 +1,11 @@
--- src/cmd/go/internal/modload/vendor.go.orig 2020-06-11 12:36:37 UTC
--- src/cmd/go/internal/modload/vendor.go.orig 2020-12-17 16:03:19 UTC
+++ src/cmd/go/internal/modload/vendor.go
@@ -133,7 +133,7 @@ func checkVendorConsistency() {
readVendorList()
pre114 := false
- if modFile.Go == nil || semver.Compare("v"+modFile.Go.Version, "v1.14") < 0 {
+ if modFile.Go == nil || semver.Compare("v"+modFile.Go.Version, "v1.14") < 0 || (os.Getenv("GO_NO_VENDOR_CHECKS") == "1" && len(vendorMeta) == 0) {
- if semver.Compare(index.goVersionV, "v1.14") < 0 {
+ if semver.Compare(index.goVersionV, "v1.14") < 0 || (os.Getenv("GO_NO_VENDOR_CHECKS") == "1" && len(vendorMeta) == 0) {
// Go versions before 1.14 did not include enough information in
// vendor/modules.txt to check for consistency.
// If we know that we're on an earlier version, relax the consistency check.