mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-08 23:51:08 -09:00
package/smartmontools: add libcap-ng optional dependency
libcap-ng is an optional dependency since a very long time (2010) and24882d3672Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com> (cherry picked from commitf692541dff) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
218c777b65
commit
23bfcbfbcf
@@ -9,4 +9,11 @@ SMARTMONTOOLS_SITE = http://downloads.sourceforge.net/project/smartmontools/smar
|
||||
SMARTMONTOOLS_LICENSE = GPL-2.0+
|
||||
SMARTMONTOOLS_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCAP_NG),y)
|
||||
SMARTMONTOOLS_CONF_OPTS += --with-libcap-ng
|
||||
SMARTMONTOOLS_DEPENDENCIES += libcap-ng
|
||||
else
|
||||
SMARTMONTOOLS_CONF_OPTS += --without-libcap-ng
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user