diff mbox series

[RFC,PATCHv2,1/2] libpam: add more PACKAGECONFIG options

Message ID 20241203135613.1955725-1-f_l_k@t-online.de
State New
Headers show
Series [RFC,PATCHv2,1/2] libpam: add more PACKAGECONFIG options | expand

Commit Message

Markus Volk Dec. 3, 2024, 1:56 p.m. UTC
Use ?= instead of ??=

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta/recipes-extended/pam/libpam_1.7.0.bb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Comments

Alexander Kanavin Dec. 3, 2024, 2:06 p.m. UTC | #1
Thanks, these look basically ok to me.

Alex

On Tue, 3 Dec 2024 at 14:56, Markus Volk via lists.openembedded.org
<f_l_k=t-online.de@lists.openembedded.org> wrote:
>
> Use ?= instead of ??=
>
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
>  meta/recipes-extended/pam/libpam_1.7.0.bb | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-extended/pam/libpam_1.7.0.bb b/meta/recipes-extended/pam/libpam_1.7.0.bb
> index ec1c868d21..2c134c1378 100644
> --- a/meta/recipes-extended/pam/libpam_1.7.0.bb
> +++ b/meta/recipes-extended/pam/libpam_1.7.0.bb
> @@ -35,9 +35,14 @@ S = "${WORKDIR}/Linux-PAM-${PV}"
>
>  inherit meson gettext pkgconfig systemd ptest github-releases
>
> -PACKAGECONFIG ??= ""
> +PACKAGECONFIG ?= ""
>  PACKAGECONFIG[audit] = "-Daudit=enabled,-Daudit=disabled,audit,"
> +PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false"
> +PACKAGECONFIG[openssl] = "-Dopenssl=enabled,-Dopenssl=disabled,openssl"
> +PACKAGECONFIG[selinux] = "-Dselinux=enabled,-Dselinux=disabled,libselinux"
> +PACKAGECONFIG[systemd] = "-Dlogind=enabled,-Dlogind=disabled,systemd"
>  PACKAGECONFIG[userdb] = "-Dpam_userdb=enabled -Ddb=gdbm,-Dpam_userdb=disabled,gdbm,"
> +PACKAGECONFIG[xtests] = "-Dxtests=true,-Dxtests=false"
>
>  PACKAGES += "${PN}-runtime ${PN}-xtests"
>  FILES:${PN} = " \
> --
> 2.47.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#208210): https://lists.openembedded.org/g/openembedded-core/message/208210
> Mute This Topic: https://lists.openembedded.org/mt/109899981/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta/recipes-extended/pam/libpam_1.7.0.bb b/meta/recipes-extended/pam/libpam_1.7.0.bb
index ec1c868d21..2c134c1378 100644
--- a/meta/recipes-extended/pam/libpam_1.7.0.bb
+++ b/meta/recipes-extended/pam/libpam_1.7.0.bb
@@ -35,9 +35,14 @@  S = "${WORKDIR}/Linux-PAM-${PV}"
 
 inherit meson gettext pkgconfig systemd ptest github-releases
 
-PACKAGECONFIG ??= ""
+PACKAGECONFIG ?= ""
 PACKAGECONFIG[audit] = "-Daudit=enabled,-Daudit=disabled,audit,"
+PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false"
+PACKAGECONFIG[openssl] = "-Dopenssl=enabled,-Dopenssl=disabled,openssl"
+PACKAGECONFIG[selinux] = "-Dselinux=enabled,-Dselinux=disabled,libselinux"
+PACKAGECONFIG[systemd] = "-Dlogind=enabled,-Dlogind=disabled,systemd"
 PACKAGECONFIG[userdb] = "-Dpam_userdb=enabled -Ddb=gdbm,-Dpam_userdb=disabled,gdbm,"
+PACKAGECONFIG[xtests] = "-Dxtests=true,-Dxtests=false"
 
 PACKAGES += "${PN}-runtime ${PN}-xtests"
 FILES:${PN} = " \