Skip to contentSkip to conversation

lirc: use weak assignment in PACKAGECONFIG like other recipes

PATCH New Martin Jansa 1 participant 1 message Oct 13, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lirc: use weak assignment in PACKAGECONFIG like other recipes

* using append makes it harder to disable PACKAGECONFIGs set from DISTRO_FEATURES

---
 meta-oe/recipes-connectivity/lirc/lirc_0.9.2.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta-oe/recipes-connectivity/lirc/lirc_0.9.2.bb +4 -2
index 7d93757..900b68d 100644
@@ -22,8 +22,10 @@ inherit autotools pkgconfig systemd pythonnative
 PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--without-systemdsystemunitdir,systemd"
 PACKAGECONFIG[x11] = "--with-x,--with-x=no,libx11,"
 
-PACKAGECONFIG_append = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', ' systemd', '', d)}"
-PACKAGECONFIG_append = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' x11', '', d)}"
+PACKAGECONFIG ?= " \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', ' systemd', '', d)} \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'x11', ' x11', '', d)} \
+"
 
 #EXTRA_OEMAKE = 'SUBDIRS="lib daemons tools"'
 do_install_append() {
Signature · 1 line
2.6.1