summaryrefslogtreecommitdiff
path: root/cpan/ExtUtils-MakeMaker
diff options
context:
space:
mode:
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>2014-11-24 22:33:43 +0000
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>2014-11-24 22:38:08 +0000
commit6544e9b1a671b734ac69d3815ee779a1251412d8 (patch)
treea296f0cf36a393993012d946db00eb2774be94a6 /cpan/ExtUtils-MakeMaker
parente71417e415af4699d56467e02c623bdc01a490cd (diff)
downloadperl-6544e9b1a671b734ac69d3815ee779a1251412d8.tar.gz
Dmake's -v means verbose not version
As Steve said in a500b25a5 there was a bug somewhere. dmake -v was being run which translates to 'dmake -f Makefile all' but with verbosity. Oops. Upstreamed to EUMM repository.
Diffstat (limited to 'cpan/ExtUtils-MakeMaker')
-rw-r--r--cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm
index 9b86c2cd12..96edfa6fd1 100644
--- a/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm
+++ b/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Any.pm
@@ -205,7 +205,8 @@ Returns true if C<<$self->make>> is the given type; possibilities are:
sub is_make_type {
my($self, $type) = @_;
(undef, undef, my $make_basename) = $self->splitpath($self->make);
- return 1 if $make_basename =~ /\b$type\b/; # executable's filename
+ return 1 if $make_basename =~ /\b$type\b/i; # executable's filename
+ return 0 if $make_basename =~ /\bdmake\b/i; # Never fall through for dmake
# now have to run with "-v" and guess
my $redirect = $self->can_redirect_error ? '2>&1' : '';
my $make = $self->make || $self->{MAKE};