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 Thu, 30 May 2002 06:00:49 GMT
dougm       02/05/29 23:00:49

  Modified:    lib/Apache Build.pm
  Log:
  prevent possible fatal warning seen in 5.6.0/darwin in MM->init_others
  
  Revision  Changes    Path
  1.96      +4 -1      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.95
  retrieving revision 1.96
  diff -u -r1.95 -r1.96
  --- Build.pm	30 May 2002 01:52:55 -0000	1.95
  +++ Build.pm	30 May 2002 06:00:49 -0000	1.96
  @@ -824,6 +824,9 @@
       $$val =~ s/\(($mm_replace)\)/(MODPERL_\U$perl_config_pm_alias{$1})/g;
   }
   
  +#help prevent warnings
  +my @mm_init_vars = (BASEEXT => '');
  +
   sub make_tools {
       my($self, $fh) = @_;
   
  @@ -832,7 +835,7 @@
       }
   
       require ExtUtils::MakeMaker;
  -    my $mm = bless {}, 'MM';
  +    my $mm = bless { @mm_init_vars }, 'MM';
       $mm->init_others;
   
       for (qw(rm_f mv ld ar cp test_f)) {
  
  
  

Mime
View raw message