summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2020-12-19 18:03:52 +0000
committerbsiegert <bsiegert@pkgsrc.org>2020-12-19 18:03:52 +0000
commitefdb29ffbdb4457c868329fcb9e6aac20699a3cb (patch)
tree33240e3eac395e1597e24809bf5499685316c022
parentfcff6dc78f277982a949d2861e88e19490d56600 (diff)
downloadpkgsrc-efdb29ffbdb4457c868329fcb9e6aac20699a3cb.tar.gz
Default to go116 on Darwin-*-aarch64
-rw-r--r--lang/go/version.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/go/version.mk b/lang/go/version.mk
index a617fa10808..a789ded539d 100644
--- a/lang/go/version.mk
+++ b/lang/go/version.mk
@@ -1,4 +1,4 @@
-# $NetBSD: version.mk,v 1.106 2020/12/19 17:58:06 bsiegert Exp $
+# $NetBSD: version.mk,v 1.107 2020/12/19 18:03:52 bsiegert Exp $
#
# If bsd.prefs.mk is included before go-package.mk in a package, then this
@@ -19,6 +19,8 @@ GO14_VERSION= 1.4.3
.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