There is no need to export the other two variables, they can stay as they were.

Alex


On Wed, 5 Jul 2023 at 20:04, Jose Quaresma <quaresma.j...@gmail.com> wrote:
>
> When upstream change is better to fail or removing the PERL5LIB
> if they are nott need anymore.
>
> Signed-off-by: Jose Quaresma <jose.quare...@foundries.io>
> ---
>  meta/recipes-connectivity/openssl/openssl_3.1.1.bb | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-connectivity/openssl/openssl_3.1.1.bb 
> b/meta/recipes-connectivity/openssl/openssl_3.1.1.bb
> index f5f3f32a97..0dce7f71bc 100644
> --- a/meta/recipes-connectivity/openssl/openssl_3.1.1.bb
> +++ b/meta/recipes-connectivity/openssl/openssl_3.1.1.bb
> @@ -137,7 +137,10 @@ do_configure () {
>         fi
>         # WARNING: do not set compiler/linker flags (-I/-D etc.) in 
> EXTRA_OECONF, as they will fully replace the
>         # environment variables set by bitbake. Adjust the environment 
> variables instead.
> -       HASHBANGPERL="/usr/bin/env perl" PERL=perl 
> PERL5LIB="${S}/external/perl/Text-Template-1.46/lib/" \
> +       export HASHBANGPERL="/usr/bin/env perl"
> +       export PERL=perl
> +       export PERL5LIB="${S}/external/perl/Text-Template-1.46/lib"
> +       test -d "$PERL5LIB" || bberror "PERL5LIB '$PERL5LIB' not found!"
>         perl ${S}/Configure ${EXTRA_OECONF} ${PACKAGECONFIG_CONFARGS} 
> ${DEPRECATED_CRYPTO_FLAGS} --prefix=$useprefix --openssldir=${libdir}/ssl-3 
> --libdir=${libdir} $target
>         perl ${B}/configdata.pm --dump
>  }
> --
> 2.34.1
>
>
> 
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#183902): 
https://lists.openembedded.org/g/openembedded-core/message/183902
Mute This Topic: https://lists.openembedded.org/mt/99970131/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to