From: Florian Eckert Date: Fri, 4 Aug 2023 07:48:59 +0000 (+0200) Subject: collectd: unify configure args handling for collectd-mod-smart X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=1aac8ada877d282c593895e7ce5b31134cb08aac;p=openwrt-packages.git collectd: unify configure args handling for collectd-mod-smart If 'collectd-mod-smart' is not enabled, the use of lubudev does not need to be explicitly disabled. This library could be a dependency for other modules in the future. If this is explicitly disabled, then the other module cannot be built. Signed-off-by: Florian Eckert --- diff --git a/utils/collectd/Makefile b/utils/collectd/Makefile index c340d6eab..6890694a5 100644 --- a/utils/collectd/Makefile +++ b/utils/collectd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=collectd PKG_VERSION:=5.12.0 -PKG_RELEASE:=45 +PKG_RELEASE:=46 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=https://collectd.org/files/ \ @@ -341,8 +341,6 @@ ifneq ($(CONFIG_PACKAGE_collectd-mod-smart),) CONFIGURE_ARGS+= \ --with-libatasmart="$(STAGING_DIR)/usr" \ --with-libudev="$(STAGING_DIR)/usr" -else - CONFIGURE_ARGS+= --without-libudev endif define Package/collectd/conffiles