summaryrefslogtreecommitdiff
path: root/network/verm/verm.SlackBuild
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-01-09 10:41:48 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-01-13 08:58:46 +0700
commit2eec721841e1272a3b8c5674e4386b571f151181 (patch)
tree051df4d190524e95bf8edcfd70ef410732a8e933 /network/verm/verm.SlackBuild
parent6b0a60c740cc19d674d1b5b761ba2dc9182d5a1f (diff)
downloadslackbuilds-2eec721841e1272a3b8c5674e4386b571f151181.tar.gz
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>
Diffstat (limited to 'network/verm/verm.SlackBuild')
-rw-r--r--network/verm/verm.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/verm/verm.SlackBuild b/network/verm/verm.SlackBuild
index e0787ec0a1..135bbfd021 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