mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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>
This commit is contained in:
parent
6b0a60c740
commit
2eec721841
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue