diff mbox series

[scarthgap] systemd: add libpcre2 as RRECOMMENDS if pcre2 is enabled

Message ID 20250303133840.101752-1-alexis.cellier@smile.fr
State New
Headers show
Series [scarthgap] systemd: add libpcre2 as RRECOMMENDS if pcre2 is enabled | expand

Commit Message

Alexis Cellier March 3, 2025, 1:38 p.m. UTC
The libpcre2 is now dlopen'ed, so it is not automatically added to the
DEPENDS anymore. Add it to the RRECOMMENDS list.

Cc: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Alexis Cellier <alexis.cellier@smile.fr>
---
 meta/recipes-core/systemd/systemd_255.17.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alexis Cellier March 3, 2025, 1:43 p.m. UTC | #1
On Mon, Mar 3, 2025 at 2:39 PM Alexis Cellier <alexis.cellier@smile.fr> wrote:
>
> The libpcre2 is now dlopen'ed, so it is not automatically added to the
> DEPENDS anymore. Add it to the RRECOMMENDS list.
>
> Cc: Yoann Congal <yoann.congal@smile.fr>
> Signed-off-by: Alexis Cellier <alexis.cellier@smile.fr>
> ---
>  meta/recipes-core/systemd/systemd_255.17.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-core/systemd/systemd_255.17.bb b/meta/recipes-core/systemd/systemd_255.17.bb
> index 8f5170929f..f85ad61080 100644
> --- a/meta/recipes-core/systemd/systemd_255.17.bb
> +++ b/meta/recipes-core/systemd/systemd_255.17.bb
> @@ -188,7 +188,7 @@ PACKAGECONFIG[oomd] = "-Doomd=true,-Doomd=false"
>  PACKAGECONFIG[openssl] = "-Dopenssl=true,-Dopenssl=false,openssl"
>  PACKAGECONFIG[p11kit] = "-Dp11kit=true,-Dp11kit=false,p11-kit"
>  PACKAGECONFIG[pam] = "-Dpam=true,-Dpam=false,libpam,${PAM_PLUGINS}"
> -PACKAGECONFIG[pcre2] = "-Dpcre2=true,-Dpcre2=false,libpcre2"
> +PACKAGECONFIG[pcre2] = "-Dpcre2=true,-Dpcre2=false,libpcre2,,libpcre2"
>  PACKAGECONFIG[polkit] = "-Dpolkit=true,-Dpolkit=false"
>  # If polkit is disabled and networkd+hostnamed are in use, enabling this option and
>  # using dbus-broker will allow networkd to be authorized to change the
> --
> 2.48.1

Oops, sorry, wrong address...
diff mbox series

Patch

diff --git a/meta/recipes-core/systemd/systemd_255.17.bb b/meta/recipes-core/systemd/systemd_255.17.bb
index 8f5170929f..f85ad61080 100644
--- a/meta/recipes-core/systemd/systemd_255.17.bb
+++ b/meta/recipes-core/systemd/systemd_255.17.bb
@@ -188,7 +188,7 @@  PACKAGECONFIG[oomd] = "-Doomd=true,-Doomd=false"
 PACKAGECONFIG[openssl] = "-Dopenssl=true,-Dopenssl=false,openssl"
 PACKAGECONFIG[p11kit] = "-Dp11kit=true,-Dp11kit=false,p11-kit"
 PACKAGECONFIG[pam] = "-Dpam=true,-Dpam=false,libpam,${PAM_PLUGINS}"
-PACKAGECONFIG[pcre2] = "-Dpcre2=true,-Dpcre2=false,libpcre2"
+PACKAGECONFIG[pcre2] = "-Dpcre2=true,-Dpcre2=false,libpcre2,,libpcre2"
 PACKAGECONFIG[polkit] = "-Dpolkit=true,-Dpolkit=false"
 # If polkit is disabled and networkd+hostnamed are in use, enabling this option and
 # using dbus-broker will allow networkd to be authorized to change the