From: Eneas U de Queiroz Date: Thu, 15 Sep 2022 13:18:40 +0000 (-0300) Subject: nut: avoid picking up libi2c dependency X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=1d3e666fbe5724540407ec4ef3e609990ced8631;p=openwrt-packages.git nut: avoid picking up libi2c dependency Add --without-linux-i2c to configure arguments to avoid using i2c if found in the staging dir. Switch to AUTORELEASE. Signed-off-by: Eneas U de Queiroz --- diff --git a/net/nut/Makefile b/net/nut/Makefile index 879f8287c..53c0a84d8 100644 --- a/net/nut/Makefile +++ b/net/nut/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nut PKG_VERSION:=2.8.0 -PKG_RELEASE:=1 +PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.networkupstools.org/source/2.8/ @@ -541,6 +541,7 @@ CONFIGURE_ARGS += \ --with$(if $(CONFIG_PACKAGE_nut-web-cgi),,out)-cgi \ --without-ipmi \ --without-freeipmi \ + --without-linux-i2c \ --$(if $(CONFIG_NUT_SSL),with,without)-ssl $(if $(CONFIG_NUT_SSL),--with-openssl) \ --without-libltdl \ --without-macosx_ups \