pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/go Move definition of $GO to version.mk.
details: https://anonhg.NetBSD.org/pkgsrc/rev/b5928de738ba
branches: trunk
changeset: 382633:b5928de738ba
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Sun Jul 08 13:53:42 2018 +0000
description:
Move definition of $GO to version.mk.
We have some packages, like mongodb-tools, that cannot include go-package.mk
but need to call the go tool.
diffstat:
lang/go/go-package.mk | 7 +------
lang/go/version.mk | 6 +++++-
2 files changed, 6 insertions(+), 7 deletions(-)
diffs (41 lines):
diff -r bee1d0bd2356 -r b5928de738ba lang/go/go-package.mk
--- a/lang/go/go-package.mk Sun Jul 08 13:42:26 2018 +0000
+++ b/lang/go/go-package.mk Sun Jul 08 13:53:42 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: go-package.mk,v 1.13 2018/07/08 12:55:00 bsiegert Exp $
+# $NetBSD: go-package.mk,v 1.14 2018/07/08 13:53:42 bsiegert Exp $
#
# This file implements common logic for compiling Go programs in pkgsrc.
#
@@ -51,11 +51,6 @@
.include "../../lang/go/version.mk"
-# How to find the Go tool.
-GOVERSSUFFIX?=
-GO= ${PREFIX}/go${GOVERSSUFFIX}/bin/go
-
-
_GO_DIST_BASE!= basename ${GO_SRCPATH}
GO_DIST_BASE?= ${_GO_DIST_BASE}
GO_BUILD_PATTERN?= ${GO_SRCPATH}/...
diff -r bee1d0bd2356 -r b5928de738ba lang/go/version.mk
--- a/lang/go/version.mk Sun Jul 08 13:42:26 2018 +0000
+++ b/lang/go/version.mk Sun Jul 08 13:53:42 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: version.mk,v 1.38 2018/06/12 17:37:59 bsiegert Exp $
+# $NetBSD: version.mk,v 1.39 2018/07/08 13:53:42 bsiegert Exp $
SSP_SUPPORTED= no
@@ -7,6 +7,10 @@
GO_VERSION= 1.10.3
GO14_VERSION= 1.4.3
+# How to find the Go tool
+GOVERSSUFFIX?=
+GO= ${PREFIX}/go${GOVERSSUFFIX}/bin/go
+
ONLY_FOR_PLATFORM= *-*-i386 *-*-x86_64 *-*-earmv[67]hf
NOT_FOR_PLATFORM= SunOS-*-i386
.if ${MACHINE_ARCH} == "i386"
Home |
Main Index |
Thread Index |
Old Index