439935f9ad
go1.7.2 should not be used. It was tagged but not fully released. The release was deferred due to a last minute bug report. Use go1.7.3 instead, and refer to the summary of changes below. go1.7.3 (released 2016/10/19) includes fixes to the compiler, runtime, and the crypto/cipher, crypto/tls, net/http, and strings packages. See the Go 1.7.3 milestone on our issue tracker for details.
21 lines
505 B
Makefile
21 lines
505 B
Makefile
# $NetBSD: version.mk,v 1.18 2016/10/27 18:58:00 bsiegert Exp $
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
GO_VERSION= 1.7.3
|
|
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}
|