diff options
author | Vincent Batts <vbatts@hashbangbash.com> | 2022-01-03 15:11:06 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-01-04 07:52:05 +0700 |
commit | d930888d34a769a3a00b460d4e87da814474ca1a (patch) | |
tree | 51983f2a7b63dbe7bcf9ba4fcdf11435df0f7f98 /development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild | |
parent | 1b966b17dd8dd51140775d13056efb6b873d5171 (diff) |
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 <vbatts@hashbangbash.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild')
-rw-r--r-- | development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild b/development/golang-googlecode-gotools/golang-googlecode-gotools.SlackBuild index 805a9ed1e80b6..e2459704f4da5 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} . |