From: Tony Bowden Date: Sat, 1 Sep 2001 10:33:53 +0000 (+0100) Subject: PATCH: ExtUtils::MakeMaker X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5ef39e19a8ca2fc662c68c8a7d2d0f5af9e5c62d;p=p5sagit%2Fp5-mst-13.2.git PATCH: ExtUtils::MakeMaker Message-ID: <20010901103353.A13863@soto.kasei.com> Manually applied p4raw-id: //depot/perl@11809 --- diff --git a/lib/ExtUtils/MakeMaker.pm b/lib/ExtUtils/MakeMaker.pm index aa5c663..d17a41e 100644 --- a/lib/ExtUtils/MakeMaker.pm +++ b/lib/ExtUtils/MakeMaker.pm @@ -2,7 +2,7 @@ BEGIN {require 5.002;} # MakeMaker 5.17 was the last MakeMaker that was compatib package ExtUtils::MakeMaker; -$VERSION = "5.46"; +$VERSION = "5.47"; $Version_OK = "5.17"; # Makefiles older than $Version_OK will die # (Will be checked from MakeMaker version 4.13 onwards) ($Revision = substr(q$Revision: 1.222 $, 10)) =~ s/\s+$//; @@ -345,7 +345,8 @@ sub ExtUtils::MakeMaker::new { eval $eval; if ($@) { - warn "Warning: prerequisite $prereq failed to load: $@"; + warn "Warning: prerequisite $prereq $self->{PREREQ_PM}->{$prereq} not found. We have " + . ($prereq->VERSION || 'unknown version'); } elsif ($prereq->VERSION < $self->{PREREQ_PM}->{$prereq} ){ warn "Warning: prerequisite $prereq $self->{PREREQ_PM}->{$prereq} not found";