stas 2004/06/30 18:42:52
Modified: xs/APR/APR Makefile.PL
xs/APR/aprext Makefile.PL
Log:
prevent MY::postamble redefined warnings, which we can't solve otherwise
(some imported from ModPerl::BuildMM postamble function doesn't get moved
by MakeMaker)
Revision Changes Path
1.24 +3 -0 modperl-2.0/xs/APR/APR/Makefile.PL
Index: Makefile.PL
===================================================================
RCS file: /home/cvs/modperl-2.0/xs/APR/APR/Makefile.PL,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -u -r1.23 -r1.24
--- Makefile.PL 28 Jun 2004 02:10:02 -0000 1.23
+++ Makefile.PL 1 Jul 2004 01:42:52 -0000 1.24
@@ -78,6 +78,9 @@
ModPerl::BuildMM::WriteMakefile(%args);
+# avoid redefined warnings from imported postamble symbol from
+# elsewhere in other Makefile.PL files
+no warnings 'redefine';
sub MY::postamble {
my $self = shift;
my $string = $self->ModPerl::BuildMM::MY::postamble;
1.3 +3 -0 modperl-2.0/xs/APR/aprext/Makefile.PL
Index: Makefile.PL
===================================================================
RCS file: /home/cvs/modperl-2.0/xs/APR/aprext/Makefile.PL,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -u -r1.2 -r1.3
--- Makefile.PL 28 Jun 2004 02:10:02 -0000 1.2
+++ Makefile.PL 1 Jul 2004 01:42:52 -0000 1.3
@@ -30,6 +30,9 @@
ModPerl::BuildMM::WriteMakefile(%args);
+# avoid redefined warnings from imported postamble symbol from
+# elsewhere in other Makefile.PL files
+no warnings 'redefine';
sub MY::postamble {
my $self = shift;
my $string = $self->ModPerl::BuildMM::MY::postamble;