pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/go go: remove the logic that makes Go 1.9 or 1.10...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f81383cd76e2
branches:  trunk
changeset: 386120:f81383cd76e2
user:      bsiegert <bsiegert%pkgsrc.org@localhost>
date:      Sat Oct 01 11:20:05 2022 +0000

description:
go: remove the logic that makes Go 1.9 or 1.10 default for some OSes

Removal agreed on tech-pkg@

diffstat:

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

diffs (27 lines):

diff -r 02f1cd2e09a4 -r f81383cd76e2 lang/go/version.mk
--- a/lang/go/version.mk        Sat Oct 01 10:42:31 2022 +0000
+++ b/lang/go/version.mk        Sat Oct 01 11:20:05 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: version.mk,v 1.160 2022/09/26 15:46:00 bsiegert Exp $
+# $NetBSD: version.mk,v 1.161 2022/10/01 11:20:05 bsiegert Exp $
 
 #
 # If bsd.prefs.mk is included before go-package.mk in a package, then this
@@ -16,17 +16,7 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 070000
-# 1.9 is the last Go version to support NetBSD 6
-GO_VERSION_DEFAULT?=   19
-.elif ${OPSYS} == "Darwin" && ${OPSYS_VERSION} < 101000
-# 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?=   119
-.endif
 
 .if !empty(GO_VERSION_DEFAULT)
 GOVERSSUFFIX=          ${GO_VERSION_DEFAULT}



Home | Main Index | Thread Index | Old Index