go/bootstrap.mk: allow user to set GOROOT_BOOTSTRAP in mk.conf

This commit is contained in:
tnn 2020-05-01 14:39:37 +00:00
parent 7203e6ff3a
commit 71a42ac05e

View file

@ -1,4 +1,6 @@
# $NetBSD: bootstrap.mk,v 1.1 2020/05/01 14:09:14 tnn Exp $
# $NetBSD: bootstrap.mk,v 1.2 2020/05/01 14:39:37 tnn Exp $
.if !defined(GOROOT_BOOTSTRAP) || !exists(${GOROOT_BOOTSTRAP}/bin/go)
BUILD_DEPENDS+= go14-1.4*:../../lang/go14
GOROOT_BOOTSTRAP= ${PREFIX}/go14
.endif