From d930888d34a769a3a00b460d4e87da814474ca1a Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Mon, 3 Jan 2022 15:11:06 -0500 Subject: development/golang-googlecode-gotools: fix build of go.tools This is a bandaid, since the package is so old. To update it would be a rework of this SlackBuild. So, added some instructions for users that care to install a newer version for themselves. Signed-off-by: Vincent Batts Signed-off-by: Willy Sudiarto Raharjo --- .../golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild | 1 + 1 file changed, 1 insertion(+) (limited to 'development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild') diff --git a/development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild b/development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild index 805a9ed1e8..e2459704f4 100644 --- a/development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild +++ b/development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild @@ -90,6 +90,7 @@ cp -a . ${PKG}/usr/share/gocode/src/${IMPORT_PATH} export GOPATH=${PKG}/usr/share/gocode:/usr/share/gocode export GOBIN=${PKG}/usr/bin +export GO111MODULE="off" for cmd in godoc cover vet oracle gotype html2article ; do cd ./cmd/${cmd}/ go build -a -x -o ${GOBIN}/${cmd} . -- cgit v1.2.3