# $NetBSD: bootstrap.mk,v 1.12 2023/06/06 12:41:44 riastradh Exp $ .if !defined(GOROOT_BOOTSTRAP) || !exists(${GOROOT_BOOTSTRAP}/bin/go) . if ${MACHINE_ARCH} == "aarch64" || \ (${OPSYS} == "Darwin" && ${OPSYS_VERSION} >= 120000) || \ (${OPSYS} == "SunOS" && ${OS_VARIANT} != "Solaris") TOOL_DEPENDS+= go-bin-[0-9]*:../../lang/go-bin GOROOT_BOOTSTRAP= ${PREFIX}/go-bin . elif defined(GO_BOOTSTRAP_REQD) TOOL_DEPENDS+= go${GO_BOOTSTRAP_REQD}-[0-9]*:../../lang/go${GO_BOOTSTRAP_REQD} GOROOT_BOOTSTRAP= ${PREFIX}/go${GO_BOOTSTRAP_REQD} . else TOOL_DEPENDS+= go14-1.4*:../../lang/go14 GOROOT_BOOTSTRAP= ${PREFIX}/go14 . endif .endif