summaryrefslogtreecommitdiff
path: root/lang/go/version.mk
diff options
context:
space:
mode:
authormaya <maya>2016-11-27 21:07:21 +0000
committermaya <maya>2016-11-27 21:07:21 +0000
commita6a017cf4da416c1d49ace37fe7acfb4502a04d5 (patch)
tree856af96554e3995333286841f909a8b5b69bf4c0 /lang/go/version.mk
parent7b41104a3d1a7c9987ad0e1d11fcdb6b8c86fa23 (diff)
downloadpkgsrc-a6a017cf4da416c1d49ace37fe7acfb4502a04d5.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/version.mk')
-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