From e075421a12a62f12294bf44e13deeca0594d5549 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 18 Mar 2013 14:18:43 -0700 Subject: autofs: Fix build breakage with systemd in DISTRO_FEATURE When systemd is in distro features we need to translate it into the appropriate PACKAGECONFIG flag Signed-off-by: Khem Raj Signed-off-by: Joe MacDonald --- meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-networking/recipes-daemons/autofs') diff --git a/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb b/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb index 6cc3b25045..7d8cf17448 100644 --- a/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb +++ b/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb @@ -51,6 +51,8 @@ CFLAGS += "${LDFLAGS}" PACKAGECONFIG[systemd] = "--with-systemd,--without-systemd,systemd" +PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" + EXTRA_OEMAKE = "DONTSTRIP=1" EXTRA_OECONF += "--disable-mount-locking \ --enable-ignore-busy --with-openldap=no \ -- cgit 1.2.3-korg