From 067f4b56b3ecacdd7efdf147dd4919cb0d7e7551 Mon Sep 17 00:00:00 2001 From: Eneas U de Queiroz Date: Wed, 24 Feb 2021 15:37:43 -0300 Subject: [PATCH] tor-fw-helper: fix build with golang 1.16 Add GO111MODULE=auto to GO_PKG_BUILD_VARS to allow the package to be built in non-module mode. Module-aware mode will be mandatory in the next golang release. Signed-off-by: Eneas U de Queiroz (cherry picked from commit cffae02037e21471e5a0fdc47b171aedbe926e8f) --- net/tor-fw-helper/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/tor-fw-helper/Makefile b/net/tor-fw-helper/Makefile index 0873ca9153..f0a6d438de 100644 --- a/net/tor-fw-helper/Makefile +++ b/net/tor-fw-helper/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tor-fw-helper PKG_VERSION:=0.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://git.torproject.org/tor-fw-helper.git @@ -69,6 +69,8 @@ $(call Package/tor-fw-helper/Default/description) This package provides the source files for the helper program. endef +GO_PKG_BUILD_VARS += GO111MODULE=auto + $(eval $(call GoBinPackage,tor-fw-helper)) $(eval $(call BuildPackage,tor-fw-helper)) -- 2.30.2