[oe-commits] Joe MacDonald : ypbind-mt: Add systemd dependency

git at git.openembedded.org git at git.openembedded.org
Tue Apr 7 13:33:58 UTC 2015


Module: meta-openembedded.git
Branch: master
Commit: f3092a6766a3004a6fc9e2eef937a40508e97c44
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=f3092a6766a3004a6fc9e2eef937a40508e97c44

Author: Joe MacDonald <joe_macdonald at mentor.com>
Date:   Wed Apr  1 16:36:17 2015 -0400

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 at mentor.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 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"



More information about the Openembedded-commits mailing list