nut: avoid picking up libi2c dependency
authorEneas U de Queiroz <cotequeiroz@gmail.com>
Thu, 15 Sep 2022 13:18:40 +0000 (10:18 -0300)
committerRosen Penev <rosenp@gmail.com>
Sat, 17 Sep 2022 19:54:11 +0000 (12:54 -0700)
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 <cotequeiroz@gmail.com>
net/nut/Makefile

index 879f8287cc23ed21622234f21f20846b2a58a4df..53c0a84d891b58996d88d3461c5ba70b018dec02 100644 (file)
@@ -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 \