diff options
author | Vincent Batts <vbatts@hashbangbash.com> | 2022-01-05 14:58:26 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-01-13 08:58:42 +0700 |
commit | 8921ecd67e9f0f6a9e3e27edaddaca76ab6f99b1 (patch) | |
tree | f4e7d2e5608b13ef2eb7fcddc902c8ce778b089e /misc | |
parent | 0930e46ef1866c71f7c4bb2cfafdc8c6f52b6457 (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>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/go-md2man/go-md2man.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/misc/go-md2man/go-md2man.SlackBuild b/misc/go-md2man/go-md2man.SlackBuild index e18acf25a34a..09e9d030e357 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 ./... |