pkgsrc/lang/go/version.mk
bsiegert 993191dc9e Update Go to 1.6.2.
This release includes fixes to the compiler, runtime, tools, documentation, and
the mime/multipart, net/http, and sort packages.

    https://golang.org/doc/devel/release.html#go1.6.minor
2016-04-30 11:22:28 +00:00

21 lines
505 B
Makefile

# $NetBSD: version.mk,v 1.14 2016/04/30 11:22:28 bsiegert Exp $
.include "../../mk/bsd.prefs.mk"
GO_VERSION= 1.6.2
GO14_VERSION= 1.4.3
ONLY_FOR_PLATFORM= *-*-i386 *-*-x86_64 *-*-evbarm
NOT_FOR_PLATFORM= SunOS-*-i386
.if ${MACHINE_ARCH} == "i386"
GOARCH= 386
GOCHAR= 8
.elif ${MACHINE_ARCH} == "x86_64"
GOARCH= amd64
GOCHAR= 6
.elif ${MACHINE_ARCH} == "evbarm"
GOARCH= arm
GOCHAR= 5
.endif
PLIST_SUBST+= GO_PLATFORM=${LOWER_OPSYS:Q}_${GOARCH:Q} GOARCH=${GOARCH:Q}
PLIST_SUBST+= GOCHAR=${GOCHAR:Q}