pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/go Use Go 1.16 as the default version.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1a4cc4b21f4f
branches:  trunk
changeset: 449057:1a4cc4b21f4f
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sat Mar 20 09:26:11 2021 +0000

description:
Use Go 1.16 as the default version.

macOS on ARM has had 1.16 as the default already for a while. The next
branch should have it for all OSes. Some build breakage has been fixed
already in separate commits.

ok before freeze wiz@

diffstat:

 lang/go/version.mk |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r abdf64be0c0e -r 1a4cc4b21f4f lang/go/version.mk
--- a/lang/go/version.mk        Sat Mar 20 09:22:39 2021 +0000
+++ b/lang/go/version.mk        Sat Mar 20 09:26:11 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: version.mk,v 1.114 2021/03/19 17:22:54 bsiegert Exp $
+# $NetBSD: version.mk,v 1.115 2021/03/20 09:26:11 bsiegert Exp $
 
 #
 # If bsd.prefs.mk is included before go-package.mk in a package, then this
@@ -19,15 +19,13 @@
 .if ${OPSYS} == "NetBSD" && ${OS_VERSION:M6.*}
 # 1.9 is the last Go version to support NetBSD 6
 GO_VERSION_DEFAULT?=   19
-.elif ${OPSYS} == "Darwin" && ${MACHINE_ARCH} == "aarch64"
-GO_VERSION_DEFAULT?=   116
 .elif ${OPSYS} == "Darwin" && ${OS_VERSION:R} < 14
 # go 1.11 removed support for osx 10.8 and 10.9
 # https://github.com/golang/go/issues/23122
 # darwin version 13.4 is osx 10.9.5
 GO_VERSION_DEFAULT?=   110
 .else
-GO_VERSION_DEFAULT?=   115
+GO_VERSION_DEFAULT?=   116
 .endif
 
 .if !empty(GO_VERSION_DEFAULT)



Home | Main Index | Thread Index | Old Index