Fix check module on systemd. 40/21140/1
authorRonan Le Martret <ronan@fridu.net>
Thu, 15 May 2014 09:57:25 +0000 (11:57 +0200)
committerRonan Le Martret <ronan@fridu.net>
Thu, 15 May 2014 09:57:49 +0000 (11:57 +0200)
Change-Id: I3b94970a0d900086b3e8d2c0c81c540a6fe77333
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
recipes-tizen/smack/smack-extraconf.inc

index ebf05c2..c385181 100644 (file)
@@ -1 +1,6 @@
-BBCLASSEXTEND_append = " nativesdk "
\ No newline at end of file
+BBCLASSEXTEND_append = " nativesdk "
+
+do_configure() {
+ sed -i 's@systemd_new=no@systemd_new=yes@' ${S}/configure.ac
+ sed -i '/PKG_CHECK_MODULES(/,/)/{s/b/r/p;d}' ${S}/configure.ac
+}