pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/go lang/go: add go to the tools directory



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ad827ba24624
branches:  trunk
changeset: 345251:ad827ba24624
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Dec 07 18:15:13 2019 +0000

description:
lang/go: add go to the tools directory

This makes it easier to run the Go compiler from within the build
environment created by "bmake build-env".

diffstat:

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

diffs (16 lines):

diff -r 93bf7d1a60e9 -r ad827ba24624 lang/go/version.mk
--- a/lang/go/version.mk        Sat Dec 07 13:58:36 2019 +0000
+++ b/lang/go/version.mk        Sat Dec 07 18:15:13 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: version.mk,v 1.71 2019/11/03 19:04:01 rillig Exp $
+# $NetBSD: version.mk,v 1.72 2019/12/07 18:15:13 rillig Exp $
 
 CTF_SUPPORTED=         no
 SSP_SUPPORTED=         no
@@ -57,3 +57,6 @@
 PLIST_SUBST+=          GOCHAR=${GOCHAR:Q}
 
 PRINT_PLIST_AWK+=      { sub("/${GO_PLATFORM}/", "/$${GO_PLATFORM}/") }
+
+TOOLS_CREATE+=         go
+TOOLS_PATH.go=         ${GO}



Home | Main Index | Thread Index | Old Index