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>
This commit is contained in:
Vincent Batts 2022-01-05 14:58:26 -05:00 committed by Willy Sudiarto Raharjo
parent 0930e46ef1
commit 8921ecd67e
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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 ./...