From 5ccc677eceefefa8c0b8d9c73fe4bb4fe6620e19 Mon Sep 17 00:00:00 2001 From: Roberto Ricci Date: Wed, 17 Feb 2021 10:23:09 +0100 Subject: [PATCH 1/2] go: update to 1.16.1 --- srcpkgs/go/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/go/template b/srcpkgs/go/template index 25f339b6e589..14996509dd64 100644 --- a/srcpkgs/go/template +++ b/srcpkgs/go/template @@ -1,6 +1,6 @@ # Template file for 'go' pkgname=go -version=1.15.9 +version=1.16.1 revision=1 create_wrksrc=yes build_wrksrc=go @@ -9,8 +9,9 @@ short_desc="Go Programming Language" maintainer="Michael Aldridge " license="BSD-3-Clause" homepage="http://golang.org/" +changelog="https://golang.org/doc/devel/release.html" distfiles="https://golang.org/dl/go${version}.src.tar.gz" -checksum=90983b9c84a92417337dc1942ff066fc8b3a69733b8b5493fd0b9b9db1ead60f +checksum=680a500cd8048750121677dd4dc055fdfd680ae83edc7ed60a4b927e466228eb nostrip=yes noverifyrdeps=yes From 049f9526afa1443fc7fbcd757b4c13e1f0bbbd69 Mon Sep 17 00:00:00 2001 From: Roberto Ricci Date: Thu, 11 Mar 2021 19:56:12 +0100 Subject: [PATCH 2/2] build-style/go: set GO111MODULE=auto --- common/environment/build-style/go.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/common/environment/build-style/go.sh b/common/environment/build-style/go.sh index 337b5279d0eb..6bdf6529a8c9 100644 --- a/common/environment/build-style/go.sh +++ b/common/environment/build-style/go.sh @@ -39,6 +39,7 @@ export CGO_CPPFLAGS="$CPPFLAGS" export CGO_CXXFLAGS="$CXXFLAGS" export CGO_LDFLAGS="$LDFLAGS" export CGO_ENABLED=1 +export GO111MODULE=auto case "$XBPS_TARGET_MACHINE" in *-musl) export GOCACHE="${XBPS_HOSTDIR}/gocache-muslc" ;; *) export GOCACHE="${XBPS_HOSTDIR}/gocache-glibc" ;;