You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by st...@apache.org on 2004/03/04 04:36:18 UTC

cvs commit: modperl-2.0 Makefile.PL

stas        2004/03/03 19:36:18

  Modified:    .        Makefile.PL
  Log:
  this is a workaround so that ModPerl::MM will move MY::constants
  away, and Apache-Test/Makefile.PL which has its own MY::constants
  won't get complaints on MY::constants redefined
  
  Revision  Changes    Path
  1.137     +7 -0      modperl-2.0/Makefile.PL
  
  Index: Makefile.PL
  ===================================================================
  RCS file: /home/cvs/modperl-2.0/Makefile.PL,v
  retrieving revision 1.136
  retrieving revision 1.137
  diff -u -u -r1.136 -r1.137
  --- Makefile.PL	9 Feb 2004 18:31:40 -0000	1.136
  +++ Makefile.PL	4 Mar 2004 03:36:18 -0000	1.137
  @@ -590,6 +590,13 @@
       return $string;
   }
   
  +# this is a workaround so that ModPerl::MM will move MY::constants
  +# away, and Apache-Test/Makefile.PL which has its own MY::constants
  +# won't get complaints on MY::constants redefined
  +sub MY::constants {
  +    shift->ModPerl::BuildMM::MY::constants;
  +}
  +
   sub MY::tool_autosplit {
       '';
   }