Return to version.mk CVS log | Up to [cvs.NetBSD.org] / pkgsrc / lang / go |
File: [cvs.NetBSD.org] / pkgsrc / lang / go / version.mk (download)
Revision 1.46, Tue Oct 2 18:19:56 2018 UTC (5 years, 6 months ago) by bsiegert
Update go111 to 1.11.1. go1.11.1 (released 2018/10/01) includes fixes to the compiler, documentation, go command, runtime, and the crypto/x509, encoding/json, go/types, net, net/http, and reflect packages. See the Go 1.11.1 milestone on our issue tracker for details. Also correct the PLIST and use ln -sf instead of ln -s. |
# $NetBSD: version.mk,v 1.46 2018/10/02 18:19:56 bsiegert Exp $ SSP_SUPPORTED= no .include "../../mk/bsd.prefs.mk" GO111_VERSION= 1.11.1 GO110_VERSION= 1.10.4 GO19_VERSION= 1.9.7 GO14_VERSION= 1.4.3 GO_VERSION= ${GO110_VERSION} .if ${OPSYS} == "NetBSD" && ${OS_VERSION:M6.*} # 1.9 is the last Go version to support NetBSD 6 GO_VERSION_DEFAULT?= 19 .else GO_VERSION_DEFAULT?= 111 .endif .if !empty(GO_VERSION_DEFAULT) GOVERSSUFFIX= ${GO_VERSION_DEFAULT} .endif # How to find the Go tool GO= ${PREFIX}/go${GOVERSSUFFIX}/bin/go # Build dependency for Go GO_PACKAGE_DEP= go${GOVERSSUFFIX}-${GO${GOVERSSUFFIX}_VERSION}*:../../lang/go${GOVERSSUFFIX} ONLY_FOR_PLATFORM= *-*-i386 *-*-x86_64 *-*-earmv[67]hf 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} == "earmv6hf" || ${MACHINE_ARCH} == "earmv7hf" GOARCH= arm GOCHAR= 5 .endif .if ${MACHINE_ARCH} == "earmv6hf" GOOPT= GOARM=6 .elif ${MACHINE_ARCH} == "earmv7hf" GOOPT= GOARM=7 .endif PLIST_SUBST+= GO_PLATFORM=${LOWER_OPSYS:Q}_${GOARCH:Q} GOARCH=${GOARCH:Q} PLIST_SUBST+= GOCHAR=${GOCHAR:Q}