Skip to contentSkip to conversation

strongswan: Make PACKAGECONFIG a default value

PATCH New Khem Raj 1 participant 1 message Apr 17, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 strongswan: Make PACKAGECONFIG a default value

From: Joe Hershberger <[email protected]>

Change from a weak default to a default in the definition of the PACKAGECONFIG.

In https://github.com/flihp/meta-measured/blob/master/networking-layer/recipes-support/strongswan/strongswan_5.%25.bbappend the PACKAGECONFIG is appended to, so if the definition is weak here, the variable will be empty when the bbappend attempts to add to it.

---
 meta-networking/recipes-support/strongswan/strongswan_5.9.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/strongswan/strongswan_5.9.2.bb +1 -1
index dd50fba3dd..c178b4cdac 100644
@@ -24,7 +24,7 @@ EXTRA_OECONF = " \
 
 EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}"
 
-PACKAGECONFIG ??= "curl gmp openssl sqlite3 swanctl \
+PACKAGECONFIG ?= "curl gmp openssl sqlite3 swanctl \
         ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd-charon', 'charon', d)} \
 "
 PACKAGECONFIG[aesni] = "--enable-aesni,--disable-aesni,,${PN}-plugin-aesni"
Signature · 1 line
2.31.1