From 9070ae84822582957bfe199fd215c3cbd52d6eba Mon Sep 17 00:00:00 2001 From: Jens Rehsack Date: Tue, 28 Aug 2018 15:24:27 +0200 Subject: libnet-ssleay-perl: Fix configure issue Fix libnet-ssleay-perl tries to execute found openssl binaries at the place of ${OPENSSL_PREFIX} and bailing out when either binaries are missing or can't be executed. From cross-compiling perspective, both is insane. Signed-off-by: Jens Rehsack Signed-off-by: Khem Raj --- .../libnet-ssleay-perl/no-exec-on-configure.patch | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 meta-perl/recipes-perl/libnet/libnet-ssleay-perl/no-exec-on-configure.patch (limited to 'meta-perl/recipes-perl/libnet/libnet-ssleay-perl/no-exec-on-configure.patch') diff --git a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl/no-exec-on-configure.patch b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl/no-exec-on-configure.patch new file mode 100644 index 0000000000..6efa7d8f95 --- /dev/null +++ b/meta-perl/recipes-perl/libnet/libnet-ssleay-perl/no-exec-on-configure.patch @@ -0,0 +1,33 @@ +--- a/inc/Module/Install/PRIVATE/Net/SSLeay.pm 2018-08-27 14:56:24.788544991 +0200 ++++ b/inc/Module/Install/PRIVATE/Net/SSLeay.pm 2018-08-27 15:00:12.847266331 +0200 +@@ -24,20 +24,7 @@ + $self->requires_external_cc; + + my $prefix = $self->find_openssl_prefix; +- my $exec = $self->find_openssl_exec($prefix); +- +- unless (-x $exec) { +- print <check_openssl_version($prefix, $exec); +- my $opts = $self->ssleay_get_build_opts($prefix, $exec); ++ my $opts = $self->ssleay_get_build_opts($prefix); + + $self->makemaker_args( + CCCDLFLAGS => $opts->{cccdlflags}, +@@ -58,7 +45,7 @@ + } + + sub ssleay_get_build_opts { +- my ($self, $prefix, $exec) = @_; ++ my ($self, $prefix) = @_; + + my $opts = { + lib_links => [], -- cgit v1.2.3-54-g00ecf