app-admin/collectd: Fix REQUIRED_USE
authorThomas D <whissi@whissi.de>
Thu, 31 Mar 2016 11:03:38 +0000 (13:03 +0200)
committerSam Jorna <wraeth@gentoo.org>
Thu, 31 Mar 2016 11:30:17 +0000 (22:30 +1100)
REQUIRED_USE of "udev" is only required when smart plugin was selected by
the user (forgotten "?").

Closes: https://github.com/gentoo/gentoo/pull/1171
Package-Manager: portage-2.2.28
Signed-off-by: Sam Jorna <wraeth@gentoo.org>
app-admin/collectd/collectd-5.5.1-r2.ebuild

index 13b5778507b82f87454489998ba06bbc035c239d..0d318109bf0a6b1d0793db76c5ccc37e035e1d2f 100644 (file)
@@ -140,7 +140,7 @@ REQUIRED_USE="
        collectd_plugins_genericjmx?            ( java )
        collectd_plugins_java?                  ( java )
        collectd_plugins_python?                ( ${PYTHON_REQUIRED_USE} )
-       collectd_plugins_smart                  ( udev )"
+       collectd_plugins_smart?                 ( udev )"
 
 PATCHES=(
        "${FILESDIR}"/${PN}-4.10.3-werror.patch