collectd: unify configure args handling for collectd-mod-smart
authorFlorian Eckert <fe@dev.tdt.de>
Fri, 4 Aug 2023 07:48:59 +0000 (09:48 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Sat, 5 Aug 2023 06:51:53 +0000 (09:51 +0300)
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 <fe@dev.tdt.de>
utils/collectd/Makefile

index c340d6eab42c7078dc5c92393aa711ac0e4b59a4..6890694a502aef227aeed720bbf8ea65a5165086 100644 (file)
@@ -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