aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/autofs
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-03-18 14:18:43 -0700
committerJoe MacDonald <joe.macdonald@windriver.com>2013-03-18 20:56:09 -0400
commite075421a12a62f12294bf44e13deeca0594d5549 (patch)
tree4a1cfb30fc23e960e80c1c5e1757e4815d812bcf /meta-networking/recipes-daemons/autofs
parentc643063be2b0289c17c26b09da08b4f07f1c807d (diff)
downloadmeta-openembedded-e075421a12a62f12294bf44e13deeca0594d5549.tar.gz
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 <raj.khem@gmail.com> Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
Diffstat (limited to 'meta-networking/recipes-daemons/autofs')
-rw-r--r--meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb2
1 files changed, 2 insertions, 0 deletions
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 \