ypbind-mt: Add systemd dependency

When building for a system including systemd ypbind-mt will link against
libsystemd creating an implicit dependency.  Make that explicit.

Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Joe MacDonald 2015-04-01 16:36:17 -04:00
parent df6c7b1279
commit f3092a6766

View File

@ -17,7 +17,10 @@ the server which answered as first. \
This is the final IPv4-only version of ypbind-mt. \
"
HOMEPAGE = "http://www.linux-nis.org/nis/ypbind-mt/index.html"
DEPENDS = "yp-tools"
DEPENDS = " \
yp-tools \
${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
"
# ypbind-mt now provides all the functionality of ypbind
# and is used in place of it.
PROVIDES += "ypbind"