system/docker-machine-kvm: Fix for the newer google-go-lang.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2024-03-23 11:34:25 +01:00 committed by Willy Sudiarto Raharjo
parent 48d33508a8
commit 9c11319bbe
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 3 additions and 0 deletions

View File

@ -80,6 +80,9 @@ find -L . \
mkdir -p build/src/github.com/dhiltgen
ln -sf $TMP/$PRGNAM-$VERSION build/src/github.com/dhiltgen/$PRGNAM
# https://bugs.gentoo.org/893080
sed -e 's: -i::' -i cmd/docker-machine-driver-kvm/Makefile
export GO111MODULE="off"
make -C cmd/docker-machine-driver-kvm \
GOPATH=$TMP/$PRGNAM-$VERSION/build