summaryrefslogtreecommitdiff
path: root/lang/go
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2014-07-30 12:04:20 +0000
committerfhajny <fhajny@pkgsrc.org>2014-07-30 12:04:20 +0000
commit18192132cfd321dbc023822f0ef907f215bdff46 (patch)
tree3576e75e158dce932f3ac632fccab8b1c6fedd39 /lang/go
parent7215d77455050031d01503f8b076a367a86641aa (diff)
downloadpkgsrc-18192132cfd321dbc023822f0ef907f215bdff46.tar.gz
SunOS-*-i386 is not supported yet, don't bother building for now.
Diffstat (limited to 'lang/go')
-rw-r--r--lang/go/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/lang/go/Makefile b/lang/go/Makefile
index 0f2a693414d..cf7701bf439 100644
--- a/lang/go/Makefile
+++ b/lang/go/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2014/07/07 16:44:18 jperkin Exp $
+# $NetBSD: Makefile,v 1.16 2014/07/30 12:04:20 fhajny Exp $
VERSION= 1.3
DISTNAME= go${VERSION}.src
@@ -21,19 +21,20 @@ BUILD_DEPENDS+= bash>=4.2nb3:../../shells/bash
.include "../../mk/bsd.prefs.mk"
# TODO: other arm platforms?
-ONLY_FOR_PLATFORM= *-*-i386 *-*-x86_64 *-*-evbarm
+ONLY_FOR_PLATFORM= *-*-i386 *-*-x86_64 *-*-evbarm
+NOT_FOR_PLATFORM= SunOS-*-i386
.if ${MACHINE_ARCH} == "i386"
GOARCH= 386
-GO_COMPILER= 8
+GO_COMPILER= 8
.elif ${MACHINE_ARCH} == "x86_64"
GOARCH= amd64
-GO_COMPILER= 6
+GO_COMPILER= 6
.elif ${MACHINE_ARCH} == "evbarm"
GOARCH= arm
-GO_COMPILER= 5
+GO_COMPILER= 5
.endif
PLIST_SUBST+= GO_PLATFORM=${LOWER_OPSYS:Q}_${GOARCH:Q} GOARCH=${GOARCH:Q}
-PLIST_SUBST+= GO_COMPILER=${GO_COMPILER:Q}
+PLIST_SUBST+= GO_COMPILER=${GO_COMPILER:Q}
PLIST_VARS+= cgo zsyscall