From: AshishKumar Mishra Date: Fri, 19 Sep 2025 03:56:15 +0000 (+0530) Subject: p11-kit: backport fix for handle USE_NLS from master X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=96602ea67463170c4cadf748525f5615ce9bbd91;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git p11-kit: backport fix for handle USE_NLS from master Disable NLS in the build when USE_NLS is off. (From OE-Core rev: b94798ecd535956ef4565663710ea9a701ff21ed) This change corresponds to upstream eeb3974472429a99a724f324dc8a63e435741f68 from master . Since the p11-kit version are different between master & scarthgap applied the patch manually Signed-off-by: Philip Lorenz Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie Signed-off-by: AshishKumar Mishra Signed-off-by: Steve Sakoman --- diff --git a/meta/recipes-support/p11-kit/p11-kit_0.25.3.bb b/meta/recipes-support/p11-kit/p11-kit_0.25.3.bb index 2ede38deba2..5921a46c88b 100644 --- a/meta/recipes-support/p11-kit/p11-kit_0.25.3.bb +++ b/meta/recipes-support/p11-kit/p11-kit_0.25.3.bb @@ -20,6 +20,7 @@ PACKAGECONFIG ??= "" PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native" PACKAGECONFIG[trust-paths] = "-Dtrust_paths=/etc/ssl/certs/ca-certificates.crt,,,ca-certificates" +EXTRA_OEMESON:append = " -Dnls=${@'false' if d.getVar('USE_NLS') == 'no' else 'true'}" GTKDOC_MESON_OPTION = 'gtk_doc' FILES:${PN} += " \