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: Fix bootstrap on macOS Monterrey
details: https://anonhg.NetBSD.org/pkgsrc/rev/072ddc374899
branches: trunk
changeset: 375205:072ddc374899
user: bacon <bacon%pkgsrc.org@localhost>
date: Wed Mar 09 15:15:59 2022 +0000
description:
lang/go: Fix bootstrap on macOS Monterrey
Darwin 12 eliminated a kernel feature needed by go 1.10 and earlier.
This patch makes Darwin 12 boostrap using go-bin rather than go14.
diffstat:
lang/go/bootstrap.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (13 lines):
diff -r f03816e9d07a -r 072ddc374899 lang/go/bootstrap.mk
--- a/lang/go/bootstrap.mk Wed Mar 09 14:27:32 2022 +0000
+++ b/lang/go/bootstrap.mk Wed Mar 09 15:15:59 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: bootstrap.mk,v 1.7 2021/07/14 14:32:04 jperkin Exp $
+# $NetBSD: bootstrap.mk,v 1.8 2022/03/09 15:15:59 bacon Exp $
.if !defined(GOROOT_BOOTSTRAP) || !exists(${GOROOT_BOOTSTRAP}/bin/go)
-. if ${MACHINE_ARCH} == "aarch64"
+. if ${MACHINE_ARCH} == "aarch64" || ${OPSYS} == "Darwin" && ${OPSYS_VERSION} >= 120000
BUILD_DEPENDS+= go-bin-[0-9]*:../../lang/go-bin
GOROOT_BOOTSTRAP= ${PREFIX}/go-bin
. else
Home |
Main Index |
Thread Index |
Old Index