pkgsrc-WIP-changes archive

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

go120: use lang/go/bootstrap.mk



Module Name:	pkgsrc-wip
Committed By:	Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By:	tnn
Date:		Thu Feb 2 10:24:43 2023 +0100
Changeset:	53ee052d29ad2eed8ee19ce9b4b38809cc23fa65

Modified Files:
	go120/Makefile

Log Message:
go120: use lang/go/bootstrap.mk

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=53ee052d29ad2eed8ee19ce9b4b38809cc23fa65

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

diffstat:
 go120/Makefile | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diffs:
diff --git a/go120/Makefile b/go120/Makefile
index 45b365e791..47aae6eb52 100644
--- a/go120/Makefile
+++ b/go120/Makefile
@@ -1,6 +1,10 @@
 # $NetBSD: Makefile,v 1.2 2022/09/17 10:13:56 bsiegert Exp $
 
 .include "../../lang/go/version.mk"
+# Minimum Go version for bootstrapping is 1.17.13.
+# Go 1.17 has some concurrency issues that have been fixed in 1.18.
+GO_BOOTSTRAP_REQD=	118
+.include "../../lang/go/bootstrap.mk"
 
 GOVERSSUFFIX=	120
 GO120_VERSION=	1.20
@@ -18,11 +22,6 @@ LICENSE=	modified-bsd
 WRKSRC=		${WRKDIR}/go
 USE_TOOLS+=	bash:run perl:run pax
 
-# Minimum Go version for bootstrapping is 1.17.13.
-# Go 1.17 has some concurrency issues that have been fixed in 1.18.
-GOROOT_BOOTSTRAP=	${PREFIX}/118
-BUILD_DEPENDS+=		go118-[0-9]*:../../lang/go118
-
 # cgo compiles under TMPDIR
 TMPDIR?=	/tmp
 BUILDLINK_PASSTHRU_DIRS+= ${TMPDIR}


Home | Main Index | Thread Index | Old Index