All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] openssl: use the perl of perl-native instead of the host perl
@ 2016-07-15  3:24 Yue Tao
  2016-07-15  8:19 ` Burton, Ross
  0 siblings, 1 reply; 2+ messages in thread
From: Yue Tao @ 2016-07-15  3:24 UTC (permalink / raw)
  To: openembedded-core; +Cc: yue.tao

The openssl can't build with very old perl, such as 5.8.9, so force it
to use the perl-native to avoid host dependence issue.

Signed-off-by: Yue Tao <Yue.Tao@windriver.com>
---
 meta/recipes-connectivity/openssl/openssl.inc |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
index 1a0031e..6990139 100644
--- a/meta/recipes-connectivity/openssl/openssl.inc
+++ b/meta/recipes-connectivity/openssl/openssl.inc
@@ -30,7 +30,7 @@ export EX_LIBS = "-lgcc -ldl"
 export AS = "${CC} -c"
 EXTRA_OEMAKE = "-e MAKEFLAGS="
 
-inherit pkgconfig siteinfo multilib_header ptest
+inherit pkgconfig siteinfo multilib_header ptest perlnative
 
 PACKAGES =+ "libcrypto libssl ${PN}-misc openssl-conf"
 FILES_libcrypto = "${libdir}/libcrypto${SOLIBS}"
@@ -208,6 +208,7 @@ do_install_ptest () {
 	mkdir -p ${D}${PTEST_PATH}/util
 	install util/opensslwrap.sh    ${D}${PTEST_PATH}/util
 	install util/shlib_wrap.sh     ${D}${PTEST_PATH}/util
+	sed -i -e 's#^PERL=.*#PERL= /usr/bin/perl#g' ${D}${PTEST_PATH}/Makefile
 }
 
 do_install_append_class-native() {
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-oe][PATCH] openssl: use the perl of perl-native instead of the host perl
  2016-07-15  3:24 [meta-oe][PATCH] openssl: use the perl of perl-native instead of the host perl Yue Tao
@ 2016-07-15  8:19 ` Burton, Ross
  0 siblings, 0 replies; 2+ messages in thread
From: Burton, Ross @ 2016-07-15  8:19 UTC (permalink / raw)
  To: Yue Tao; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 601 bytes --]

On 15 July 2016 at 04:24, Yue Tao <Yue.Tao@windriver.com> wrote:

> The openssl can't build with very old perl, such as 5.8.9, so force it
> to use the perl-native to avoid host dependence issue.
>

Considering that Perl 5.8.9 was released in 2008 (so eight years ago), what
distribution is still shipping perl 5.8.9?  Instead of forcing everyone to
build perl-native before openssl can build (and adding perlnative to more
recipes as they're discovered to fail with ancient perl) anyone using an
old distribution should simply use buildtools, as this is exactly what
they're for.

Ross

[-- Attachment #2: Type: text/html, Size: 1049 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-15  8:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-15  3:24 [meta-oe][PATCH] openssl: use the perl of perl-native instead of the host perl Yue Tao
2016-07-15  8:19 ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.