From 534c5329100520e73ce481d383bfa3321b9298dd Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Sat, 5 Feb 2022 16:08:20 +1300 Subject: [PATCH] system/mongo-tools: Fix build with newer google-go-lang. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- system/mongo-tools/mongo-tools.SlackBuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/mongo-tools/mongo-tools.SlackBuild b/system/mongo-tools/mongo-tools.SlackBuild index 4009cf9019..ddb01204fc 100644 --- a/system/mongo-tools/mongo-tools.SlackBuild +++ b/system/mongo-tools/mongo-tools.SlackBuild @@ -81,6 +81,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +export GO111MODULE="off" + TARGET_PATH=$PKG/usr/bin mkdir -p $TARGET_PATH . ./set_gopath.sh