pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/go



Module Name:    pkgsrc
Committed By:   bacon
Date:           Wed Mar  9 15:15:59 UTC 2022

Modified Files:
        pkgsrc/lang/go: bootstrap.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/go/bootstrap.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/go/bootstrap.mk
diff -u pkgsrc/lang/go/bootstrap.mk:1.7 pkgsrc/lang/go/bootstrap.mk:1.8
--- pkgsrc/lang/go/bootstrap.mk:1.7     Wed Jul 14 14:32:04 2021
+++ pkgsrc/lang/go/bootstrap.mk Wed Mar  9 15:15:59 2022
@@ -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