diff options
Diffstat (limited to 'meta-perl/recipes-perl/libnet/libnet-ssleay-perl/no-exec-on-configure.patch')
| -rw-r--r-- | meta-perl/recipes-perl/libnet/libnet-ssleay-perl/no-exec-on-configure.patch | 37 |
1 files changed, 0 insertions, 37 deletions
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 deleted file mode 100644 index 9620df5ece..0000000000 --- a/meta-perl/recipes-perl/libnet/libnet-ssleay-perl/no-exec-on-configure.patch +++ /dev/null | |||
| @@ -1,37 +0,0 @@ | |||
| 1 | Avoid running target binaries during in cross build | ||
| 2 | |||
| 3 | Upstream-Status: Inappropriate [Cross-compile specific] | ||
| 4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 5 | --- a/inc/Module/Install/PRIVATE/Net/SSLeay.pm 2018-08-27 14:56:24.788544991 +0200 | ||
| 6 | +++ b/inc/Module/Install/PRIVATE/Net/SSLeay.pm 2018-08-27 15:00:12.847266331 +0200 | ||
| 7 | @@ -24,20 +24,7 @@ | ||
| 8 | $self->requires_external_cc; | ||
| 9 | |||
| 10 | my $prefix = $self->find_openssl_prefix; | ||
| 11 | - my $exec = $self->find_openssl_exec($prefix); | ||
| 12 | - | ||
| 13 | - unless (-x $exec) { | ||
| 14 | - print <<EOM; | ||
| 15 | -*** Could not find OpenSSL | ||
| 16 | - If it's already installed, please set the OPENSSL_PREFIX environment | ||
| 17 | - variable accordingly. If it isn't installed yet, get the latest version | ||
| 18 | - from http://www.openssl.org/. | ||
| 19 | -EOM | ||
| 20 | - exit 0; # according http://wiki.cpantesters.org/wiki/CPANAuthorNotes this is best-practice when "missing library" | ||
| 21 | - } | ||
| 22 | - | ||
| 23 | - $self->check_openssl_version($prefix, $exec); | ||
| 24 | - my $opts = $self->ssleay_get_build_opts($prefix, $exec); | ||
| 25 | + my $opts = $self->ssleay_get_build_opts($prefix); | ||
| 26 | |||
| 27 | $self->makemaker_args( | ||
| 28 | CCCDLFLAGS => $opts->{cccdlflags}, | ||
| 29 | @@ -58,7 +45,7 @@ | ||
| 30 | } | ||
| 31 | |||
| 32 | sub ssleay_get_build_opts { | ||
| 33 | - my ($self, $prefix, $exec) = @_; | ||
| 34 | + my ($self, $prefix) = @_; | ||
| 35 | |||
| 36 | my $opts = { | ||
| 37 | lib_links => [], | ||
