Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/go go/bootstrap.mk: allow user to set GOROOT_BOOT...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b4e9259bb37c
branches:  trunk
changeset: 430517:b4e9259bb37c
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Fri May 01 14:39:37 2020 +0000

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

diffstat:

 lang/go/bootstrap.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r 135ed8a36974 -r b4e9259bb37c lang/go/bootstrap.mk
--- a/lang/go/bootstrap.mk      Fri May 01 14:22:12 2020 +0000
+++ b/lang/go/bootstrap.mk      Fri May 01 14:39:37 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index