From fd486b11a2ad4d6b474a12009ff7d29b526c6de6 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Tue, 1 Mar 2022 09:51:34 +0100 Subject: network/webhook: Fix build with the newer google-go-lang. Signed-off-by: Matteo Bernardini Signed-off-by: Willy Sudiarto Raharjo --- network/webhook/webhook.SlackBuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'network/webhook/webhook.SlackBuild') diff --git a/network/webhook/webhook.SlackBuild b/network/webhook/webhook.SlackBuild index c79d9585c8..e8b3dacf02 100644 --- a/network/webhook/webhook.SlackBuild +++ b/network/webhook/webhook.SlackBuild @@ -73,7 +73,7 @@ mv $PRGNAM/vendor $PRGNAM-$VERSION/build/src mkdir -p $PRGNAM-$VERSION/build/src/github.com/adnanh mv $PRGNAM $PRGNAM-$VERSION/build/src/github.com/adnanh cd $PRGNAM-$VERSION -GOPATH=$(pwd)/build go build -o $PKG/usr/sbin/webhook github.com/adnanh/$PRGNAM +GO111MODULE=auto GOPATH=$(pwd)/build go build -o $PKG/usr/sbin/webhook github.com/adnanh/$PRGNAM strip -s $PKG/usr/sbin/webhook mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3