Changeset 12938 for inc

Show
Ignore:
Timestamp:
09/02/06 10:48:22 (2 years ago)
Author:
audreyt
Message:

* very sad, very sick fix for dmake and strawberry. don't even ask. :-/

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • inc/Module/Install/Pugs.pm

    r12890 r12938  
    6464      : die "Perl version '$perl_version' is bad. Must be 5 or 6."; 
    6565    my $path = File::Spec->catdir($base, $blib); 
     66 
     67    if ( basename($Config{make}, $Config{_exe}) =~ /\bdmake\b/ ) { 
     68        # This is purely for working around sad dmake bug 
     69        # Which parses C:\work\pugs as C : \work\pugs 
     70        $path =~ s{^\w:}{} 
     71    } 
    6672 
    6773    $self->makemaker_args->{INST_LIB} =