From 8921ecd67e9f0f6a9e3e27edaddaca76ab6f99b1 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Wed, 5 Jan 2022 14:58:26 -0500 Subject: misc/go-md2man: fix build on newer golang Signed-off-by: Vincent Batts Signed-off-by: Willy Sudiarto Raharjo --- misc/go-md2man/go-md2man.SlackBuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 ./... -- cgit v1.2.3