perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From do...@apache.org
Subject cvs commit: modperl-2.0/lib/Apache Build.pm
Date Mon, 15 Oct 2001 17:18:03 GMT
dougm       01/10/15 10:18:03

  Modified:    lib/Apache Build.pm
  Log:
  portability: get MV and RM_F values from MakeMaker
  
  Revision  Changes    Path
  1.50      +6 -5      modperl-2.0/lib/Apache/Build.pm
  
  Index: Build.pm
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/lib/Apache/Build.pm,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- Build.pm	2001/10/12 00:23:50	1.49
  +++ Build.pm	2001/10/15 17:18:03	1.50
  @@ -689,8 +689,6 @@
   sub make_tools {
       my($self, $fh) = @_;
   
  -    #XXX win32
  -
       for (@perl_config_pm) {
           print $fh $self->canon_make_attr($_, $self->perl_config($_));
       }
  @@ -700,10 +698,13 @@
           }
       }
   
  -    print $fh $self->canon_make_attr('RM_F' => #XXX
  -                                     $self->{MODPERL_RM} . ' -f');
  +    require ExtUtils::MakeMaker;
  +    my $mm = bless {}, 'MM';
  +    $mm->init_others;
   
  -    print $fh $self->canon_make_attr(MV => 'mv');
  +    for (qw(RM_F MV)) {
  +        print $fh $self->canon_make_attr($_ => $mm->{$_});
  +    }
   }
   
   sub write_src_makefile {
  
  
  

Mime
View raw message