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 <fe@dev.tdt.de>
This commit is contained in:
parent
730806a51e
commit
1aac8ada87
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue