blob: 6efa7d8f957acdb8e6175faf7a1f18f64e315984 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001--- a/inc/Module/Install/PRIVATE/Net/SSLeay.pm 2018-08-27 14:56:24.788544991 +0200
2+++ b/inc/Module/Install/PRIVATE/Net/SSLeay.pm 2018-08-27 15:00:12.847266331 +0200
3@@ -24,20 +24,7 @@
4 $self->requires_external_cc;
5
6 my $prefix = $self->find_openssl_prefix;
7- my $exec = $self->find_openssl_exec($prefix);
8-
9- unless (-x $exec) {
10- print <<EOM;
11-*** Could not find OpenSSL
12- If it's already installed, please set the OPENSSL_PREFIX environment
13- variable accordingly. If it isn't installed yet, get the latest version
14- from http://www.openssl.org/.
15-EOM
16- exit 0; # according http://wiki.cpantesters.org/wiki/CPANAuthorNotes this is best-practice when "missing library"
17- }
18-
19- $self->check_openssl_version($prefix, $exec);
20- my $opts = $self->ssleay_get_build_opts($prefix, $exec);
21+ my $opts = $self->ssleay_get_build_opts($prefix);
22
23 $self->makemaker_args(
24 CCCDLFLAGS => $opts->{cccdlflags},
25@@ -58,7 +45,7 @@
26 }
27
28 sub ssleay_get_build_opts {
29- my ($self, $prefix, $exec) = @_;
30+ my ($self, $prefix) = @_;
31
32 my $opts = {
33 lib_links => [],