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:   tnn
Date:           Thu Feb  2 09:23:41 UTC 2023

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

Log Message:
go/bootstrap.mk: support setting GO_BOOTSTRAP_REQD=118

for wip/go120


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 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.9 pkgsrc/lang/go/bootstrap.mk:1.10
--- pkgsrc/lang/go/bootstrap.mk:1.9     Sat Jan 28 12:34:30 2023
+++ pkgsrc/lang/go/bootstrap.mk Thu Feb  2 09:23:41 2023
@@ -1,4 +1,4 @@
-# $NetBSD: bootstrap.mk,v 1.9 2023/01/28 12:34:30 jperkin Exp $
+# $NetBSD: bootstrap.mk,v 1.10 2023/02/02 09:23:41 tnn Exp $
 
 .if !defined(GOROOT_BOOTSTRAP) || !exists(${GOROOT_BOOTSTRAP}/bin/go)
 .  if ${MACHINE_ARCH} == "aarch64" || \
@@ -6,6 +6,9 @@
     (${OPSYS} == "SunOS" && ${OS_VARIANT} != "Solaris")
 BUILD_DEPENDS+=                go-bin-[0-9]*:../../lang/go-bin
 GOROOT_BOOTSTRAP=      ${PREFIX}/go-bin
+.  elif defined(GO_BOOTSTRAP_REQD)
+BUILD_DEPENDS+=                go${GO_BOOTSTRAP_REQD}-[0-9]*:../../lang/go${GO_BOOTSTRAP_REQD}
+GOROOT_BOOTSTRAP=      ${PREFIX}/${GO_BOOTSTRAP_REQD}
 .  else
 BUILD_DEPENDS+=                go14-1.4*:../../lang/go14
 GOROOT_BOOTSTRAP=      ${PREFIX}/go14



Home | Main Index | Thread Index | Old Index