Skip to contentSkip to conversation

ypbind-mt: Add systemd dependency

PATCH New Joe MacDonald 1 participant 1 message Apr 1, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta-networking/recipes-support/nis/ypbind-mt_1.38.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-networking/recipes-support/nis/ypbind-mt_1.38.bb +4 -1
index f7e6b43..d25ef5c 100644
@@ -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"
Signature · 1 line
1.9.1