From: Robin Barker <RMBarker@cpan.org>
Date: Thu, 6 Sep 2001 19:36:49 +0000 (+0100)
Subject: noise from make in ext/SDBM
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=3593a55e256c536860df1e2afc19024e5c276ba2;p=p5sagit%2Fp5-mst-13.2.git

noise from make in ext/SDBM
Message-Id: <200109061836.TAA08747@tempest.npl.co.uk>

p4raw-id: //depot/perl@11923
---

diff --git a/lib/ExtUtils/MakeMaker.pm b/lib/ExtUtils/MakeMaker.pm
index d17a41e..64d2335 100644
--- a/lib/ExtUtils/MakeMaker.pm
+++ b/lib/ExtUtils/MakeMaker.pm
@@ -152,7 +152,7 @@ sub eval_in_subdirs {
     my($dir);
     use Cwd qw(cwd abs_path);
     my $pwd = cwd();
-    local @INC = map eval {abs_path($_)} || $_, @INC;
+    local @INC = map eval {abs_path($_) if -e} || $_, @INC;
 
     foreach $dir (@{$self->{DIR}}){
 	my($abs) = $self->catdir($pwd,$dir);