aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support
diff options
context:
space:
mode:
authorJoe MacDonald <joe_macdonald@mentor.com>2015-04-01 16:36:17 -0400
committerJoe MacDonald <joe_macdonald@mentor.com>2015-04-07 09:35:11 -0400
commitf3092a6766a3004a6fc9e2eef937a40508e97c44 (patch)
tree5160a4037f7c4268f7eb159570ad61b17692fe5e /meta-networking/recipes-support
parentdf6c7b1279790d27ebfd58fbdfbac89bde5782ec (diff)
downloadmeta-openembedded-contrib-f3092a6766a3004a6fc9e2eef937a40508e97c44.tar.gz
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>
Diffstat (limited to 'meta-networking/recipes-support')
-rw-r--r--meta-networking/recipes-support/nis/ypbind-mt_1.38.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/nis/ypbind-mt_1.38.bb b/meta-networking/recipes-support/nis/ypbind-mt_1.38.bb
index f7e6b43d93..d25ef5c754 100644
--- a/meta-networking/recipes-support/nis/ypbind-mt_1.38.bb
+++ b/meta-networking/recipes-support/nis/ypbind-mt_1.38.bb
@@ -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"