diff mbox series

[2/2] openssl: fix the PERL5LIB path

Message ID 20230705180358.382955-2-jose.quaresma@foundries.io
State New
Headers show
Series [1/2] openssl: check the existence of the PERL5LIB path | expand

Commit Message

Jose Quaresma July 5, 2023, 6:03 p.m. UTC
The Text-Template was updated from 1.46 to 1.56

| ERROR: openssl-native-3.1.1-r0 do_configure: PERL5LIB '/build/tmp/work/x86_64-linux/openssl-native/3.1.1-r0/openssl-3.1.1/external/perl/Text-Template-1.46/lib' not found!

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
---
 meta/recipes-connectivity/openssl/openssl_3.1.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-connectivity/openssl/openssl_3.1.1.bb b/meta/recipes-connectivity/openssl/openssl_3.1.1.bb
index 0dce7f71bc..ffb962a53f 100644
--- a/meta/recipes-connectivity/openssl/openssl_3.1.1.bb
+++ b/meta/recipes-connectivity/openssl/openssl_3.1.1.bb
@@ -139,7 +139,7 @@  do_configure () {
 	# environment variables set by bitbake. Adjust the environment variables instead.
 	export HASHBANGPERL="/usr/bin/env perl"
 	export PERL=perl
-	export PERL5LIB="${S}/external/perl/Text-Template-1.46/lib"
+	export PERL5LIB="${S}/external/perl/Text-Template-1.56/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