From: Eneas U de Queiroz Date: Thu, 15 Apr 2021 20:03:35 +0000 (-0300) Subject: atheepmgr: avoid libpciaccess dependency X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=52837117541f9a35d60a0e4befac1960ea8675fe;p=openwrt-packages.git atheepmgr: avoid libpciaccess dependency HAVE_LIBPCIACCESS that is currently passed through MAKE_VARS to disable building with libpciaccess can't be set through the environment. Instead, use CONFIG_CON_PCI, which can be passed through the environment and will disable libpciaccess. Signed-off-by: Eneas U de Queiroz --- diff --git a/utils/atheepmgr/Makefile b/utils/atheepmgr/Makefile index fc0283ffa..bb695668d 100644 --- a/utils/atheepmgr/Makefile +++ b/utils/atheepmgr/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=atheepmgr PKG_VERSION:=2.1.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_VERSION:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_PROTO:=git @@ -60,7 +60,7 @@ endef MAKE_VARS += \ OS=Linux \ - HAVE_LIBPCIACCESS=n \ + CONFIG_CON_PCI=n \ CONFIG_I_KNOW_WHAT_I_AM_DOING=$(CONFIG_ATHEEPMGR_DANGEROUS_FUNCTIONS) \ define Package/atheepmgr/install