pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/go lang/go: on osx 10.9 and earlier, use go110



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a84566e2a2b1
branches:  trunk
changeset: 339834:a84566e2a2b1
user:      dbj <dbj%pkgsrc.org@localhost>
date:      Tue Sep 17 04:39:20 2019 +0000

description:
lang/go: on osx 10.9 and earlier, use go110

go 1.11 removed support for osx 10.8 and 10.9
https://github.com/golang/go/issues/23122

diffstat:

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

diffs (21 lines):

diff -r f909566139b7 -r a84566e2a2b1 lang/go/version.mk
--- a/lang/go/version.mk        Mon Sep 16 23:17:07 2019 +0000
+++ b/lang/go/version.mk        Tue Sep 17 04:39:20 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: version.mk,v 1.67 2019/08/14 15:42:52 bsiegert Exp $
+# $NetBSD: version.mk,v 1.68 2019/09/17 04:39:20 dbj Exp $
 
 CTF_SUPPORTED=         no
 SSP_SUPPORTED=         no
@@ -16,6 +16,11 @@
 .if ${OPSYS} == "NetBSD" && ${OS_VERSION:M6.*}
 # 1.9 is the last Go version to support NetBSD 6
 GO_VERSION_DEFAULT?=   19
+.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?=   112
 .endif



Home | Main Index | Thread Index | Old Index