package/enlightenment: enable systemd support
authorRomain Naour <romain.naour@gmail.com>
Fri, 22 Jul 2016 22:23:18 +0000 (00:23 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 23 Jul 2016 13:09:39 +0000 (15:09 +0200)
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/enlightenment/enlightenment.mk

index e8fee3f84ad8da0b48c6c8723b720a7eb14de4c6..2440cec7a796e3a2c8e05078217478dca806d645 100644 (file)
@@ -22,8 +22,14 @@ ENLIGHTENMENT_CONF_OPTS = \
        --with-edje-cc=$(HOST_DIR)/usr/bin/edje_cc \
        --with-eet-eet=$(HOST_DIR)/usr/bin/eet \
        --disable-pam \
-       --disable-rpath \
-       --disable-systemd
+       --disable-rpath
+
+ifeq ($(BR2_PACKAGE_SYSTEMD),y)
+ENLIGHTENMENT_CONF_OPTS += --enable-systemd
+ENLIGHTENMENT_DEPENDENCIES += systemd
+else
+ENLIGHTENMENT_CONF_OPTS += --disable-systemd
+endif
 
 # uClibc has an old incomplete sys/ptrace.h for powerpc & sparc
 ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC)$(BR2_powerpc)$(BR2_sparc),yy)