summaryrefslogtreecommitdiff
path: root/lang/go19
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2020-05-01 14:09:14 +0000
committertnn <tnn@pkgsrc.org>2020-05-01 14:09:14 +0000
commita36ad3e51225a7546c96f4fe4d86eba299847e2b (patch)
treec0fffa072263f57bf5e081d946488de6b59bef40 /lang/go19
parentc178743a247f178ccefbdd95ca7d513568580ac0 (diff)
downloadpkgsrc-a36ad3e51225a7546c96f4fe4d86eba299847e2b.tar.gz
go*: move definition of GOROOT_BOOTSTRAP to go/bootstrap.mk.
NFC. But will later need to do something else when MACHINE_ARCH == aarch64. Also drop dup include of bsd.prefs.mk. go/version.mk does this already.
Diffstat (limited to 'lang/go19')
-rw-r--r--lang/go19/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/lang/go19/Makefile b/lang/go19/Makefile
index 32e19893683..16012b9549a 100644
--- a/lang/go19/Makefile
+++ b/lang/go19/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2020/01/26 17:31:28 rillig Exp $
+# $NetBSD: Makefile,v 1.6 2020/05/01 14:09:15 tnn Exp $
PKGREVISION= 2
.include "../../lang/go/version.mk"
+.include "../../lang/go/bootstrap.mk"
DISTNAME= go${GO19_VERSION}.src
PKGNAME= go19-${GO19_VERSION}
@@ -80,11 +81,6 @@ CHECK_INTERPRETER_SKIP+= go19/src/clean.rc
CHECK_INTERPRETER_SKIP+= go19/src/make.rc
CHECK_INTERPRETER_SKIP+= go19/src/run.rc
-BUILD_DEPENDS+= go14-1.4*:../../lang/go14
-GOROOT_BOOTSTRAP= ${PREFIX}/go14
-
-.include "../../mk/bsd.prefs.mk"
-
PLIST_VARS+= route
.if ${OPSYS} != "Linux" && ${OPSYS} != "SunOS"