diff options
author | Andrew Clemons <andrew.clemons@gmail.com> | 2022-01-09 10:41:48 +1300 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-01-13 08:58:46 +0700 |
commit | 2eec721841e1272a3b8c5674e4386b571f151181 (patch) | |
tree | 051df4d190524e95bf8edcfd70ef410732a8e933 | |
parent | 6b0a60c740cc19d674d1b5b761ba2dc9182d5a1f (diff) |
network/verm: Fix build with newer google-go-lang.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | network/verm/verm.SlackBuild | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/network/verm/verm.SlackBuild b/network/verm/verm.SlackBuild index e0787ec0a176..135bbfd02181 100644 --- a/network/verm/verm.SlackBuild +++ b/network/verm/verm.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=verm VERSION=${VERSION:-1.5.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -89,6 +89,7 @@ export GOPATH="$SRCDIR" mkdir -p src/github.com/willbryant ( cd src/github.com/willbryant && ln -s "$GOPATH" verm) +export GO111MODULE="off" go build -ldflags "-X main.compiled_version=$VERSION -X main.compiled_root_data_directory=/var/lib/verm" "github.com/willbryant/verm" mkdir -p $PKG/usr/bin |