Subject: | Makefile.PL fails to detect absence of Net::SSLeay |
Overriden $SIG{__WARN__} disturbes detection of modules.
ExtUtils::MakeMaker 6.30.
Patch attached.
-------
Alexandr Ciornii, http://chorny.net
Subject: | IO-Socket-SSL-Makefile.patch |
*** Makefile.PL.orig Wed Jul 19 22:41:34 2006
--- Makefile.PL Wed Jul 19 22:42:49 2006
***************
*** 18,24 ****
$| = 1;
! $SIG{__WARN__} = sub {
undef $SIG{__WARN__};
my $warning = shift;
return unless $warning =~ /random/i;
--- 18,26 ----
$| = 1;
! {#to allow detection of failures in PREREQ_PM
!
! local $SIG{__WARN__} = sub {
undef $SIG{__WARN__};
my $warning = shift;
return unless $warning =~ /random/i;
***************
*** 45,50 ****
--- 47,53 ----
print "Random Number Generator test skipped.\n";
}
+ }
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(