aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Batts <vbatts@hashbangbash.com>2022-01-05 14:58:26 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-01-13 08:58:42 +0700
commit8921ecd67e9f0f6a9e3e27edaddaca76ab6f99b1 (patch)
treef4e7d2e5608b13ef2eb7fcddc902c8ce778b089e
parent0930e46ef1866c71f7c4bb2cfafdc8c6f52b6457 (diff)
misc/go-md2man: fix build on newer golang
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--misc/go-md2man/go-md2man.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/go-md2man/go-md2man.SlackBuild b/misc/go-md2man/go-md2man.SlackBuild
index e18acf25a34a9..09e9d030e357d 100644
--- a/misc/go-md2man/go-md2man.SlackBuild
+++ b/misc/go-md2man/go-md2man.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=go-md2man
VERSION=${VERSION:-1.0.8}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -87,6 +87,7 @@ find -L . \
# Point go to the location of the source tree
export GOPATH="$TMP/$PRGNAM-$VERSION"
export GOBIN="$PKG/usr/bin"
+export GO111MODULE="off"
go install -a -x ./...