Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 2021 11:44:50 +0000 (UTC)
From:      Dmitri Goutnik <dmgk@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r565496 - in head/lang/go: . files
Message-ID:  <202102171144.11HBioCw048739@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dmgk
Date: Wed Feb 17 11:44:50 2021
New Revision: 565496
URL: https://svnweb.freebsd.org/changeset/ports/565496

Log:
  lang/go: Update to 1.16
  
  Changes:	https://golang.org/doc/go1.16

Modified:
  head/lang/go/Makefile
  head/lang/go/distinfo
  head/lang/go/files/patch-src_cmd_go_internal_modload_vendor.go

Modified: head/lang/go/Makefile
==============================================================================
--- head/lang/go/Makefile	Wed Feb 17 10:56:27 2021	(r565495)
+++ head/lang/go/Makefile	Wed Feb 17 11:44:50 2021	(r565496)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	go
-PORTVERSION?=	1.15.8
+PORTVERSION?=	1.16
 PORTREVISION?=	0
 PORTEPOCH?=	1
 CATEGORIES=	lang
@@ -46,11 +46,11 @@ EXTRACT_CMD=	${SETENV} LC_ALL=en_US.UTF-8 ${TAR}
 WRKSRC=		${WRKDIR}/go
 .endif
 
-OPTIONS_DEFINE_i386=	GO387
+OPTIONS_DEFINE_i386=	SOFTFLOAT
 
-GO387_DESC=	Do not generate code with SSE2 (for old x86 CPU)
+SOFTFLOAT_DESC=	Use soft float on non-SSE2 processors (Pentium 4 and older)
 
-GO387_VARS=	GO386=387
+SOFTFLOAT_VARS=	GO386=softfloat
 
 BINARIES=	go gofmt
 BOOTSTRAP_TAG=	go1.14

Modified: head/lang/go/distinfo
==============================================================================
--- head/lang/go/distinfo	Wed Feb 17 10:56:27 2021	(r565495)
+++ head/lang/go/distinfo	Wed Feb 17 11:44:50 2021	(r565496)
@@ -1,6 +1,6 @@
-TIMESTAMP = 1612525048
-SHA256 (go1.15.8.src.tar.gz) = 540c0ab7781084d124991321ed1458e479982de94454a98afab6acadf38497c2
-SIZE (go1.15.8.src.tar.gz) = 23018628
+TIMESTAMP = 1613525787
+SHA256 (go1.16.src.tar.gz) = 7688063d55656105898f323d90a79a39c378d86fe89ae192eb3b7fc46347c95a
+SIZE (go1.16.src.tar.gz) = 20895394
 SHA256 (go-freebsd-arm64-go1.14.tar.xz) = f8b0cf0d323e581c9e3e0d5c217847a3e0294fcc92dbac92a5b02cea9d97ad8d
 SIZE (go-freebsd-arm64-go1.14.tar.xz) = 34944548
 SHA256 (go-freebsd-amd64-go1.14.tar.xz) = 3b259247fb228258a4f31e283e9aa23cafd590eabce334666a9e9b2ffe47c19b

Modified: head/lang/go/files/patch-src_cmd_go_internal_modload_vendor.go
==============================================================================
--- head/lang/go/files/patch-src_cmd_go_internal_modload_vendor.go	Wed Feb 17 10:56:27 2021	(r565495)
+++ head/lang/go/files/patch-src_cmd_go_internal_modload_vendor.go	Wed Feb 17 11:44:50 2021	(r565496)
@@ -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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102171144.11HBioCw048739>