summaryrefslogtreecommitdiff
path: root/lang/go
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2016-11-27 21:07:21 +0000
committermaya <maya@pkgsrc.org>2016-11-27 21:07:21 +0000
commit1ecf2919f1cfca795e65d2c384e16d3b1be14c56 (patch)
tree2d3e6074f5d085bc74a3f9be4229b5ba07f37bf2 /lang/go
parentefda61dd1c3948edc52af8148f7c78a4544b04a0 (diff)
downloadpkgsrc-1ecf2919f1cfca795e65d2c384e16d3b1be14c56.tar.gz
go: match more netbsd/arm, which can be machine arch earm,
and not just evbarm. PR pkg/51653 Note that this does not resolve the PR, as the build hangs.
Diffstat (limited to 'lang/go')
-rw-r--r--lang/go/version.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/go/version.mk b/lang/go/version.mk
index 002171bd4e9..87d006e9f89 100644
--- a/lang/go/version.mk
+++ b/lang/go/version.mk
@@ -1,11 +1,11 @@
-# $NetBSD: version.mk,v 1.18 2016/10/27 18:58:00 bsiegert Exp $
+# $NetBSD: version.mk,v 1.19 2016/11/27 21:07:21 maya Exp $
.include "../../mk/bsd.prefs.mk"
GO_VERSION= 1.7.3
GO14_VERSION= 1.4.3
-ONLY_FOR_PLATFORM= *-*-i386 *-*-x86_64 *-*-evbarm
+ONLY_FOR_PLATFORM= *-*-i386 *-*-x86_64 *-*-*arm
NOT_FOR_PLATFORM= SunOS-*-i386
.if ${MACHINE_ARCH} == "i386"
GOARCH= 386
@@ -13,7 +13,7 @@ GOCHAR= 8
.elif ${MACHINE_ARCH} == "x86_64"
GOARCH= amd64
GOCHAR= 6
-.elif ${MACHINE_ARCH} == "evbarm"
+.elif !empty(MACHINE_ARCH:M*arm)
GOARCH= arm
GOCHAR= 5
.endif