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 <[email protected]>
---
 meta-networking/recipes-support/nis/ypbind-mt_1.38.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

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 f7e6b43..d25ef5c 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"
-- 
1.9.1

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to