stas 2003/03/23 20:28:03
Modified: lib/ModPerl BuildMM.pm
Log:
install the typemap into $(INST_ARCHLIB)/auto/Apache/typemap, so we get it
specific for Apache and not in the root of one of the @INC entries (same
as mod_perl 1.0)
Revision Changes Path
1.6 +6 -0 modperl-2.0/lib/ModPerl/BuildMM.pm
Index: BuildMM.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/ModPerl/BuildMM.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- BuildMM.pm 23 Mar 2003 08:37:51 -0000 1.5
+++ BuildMM.pm 24 Mar 2003 04:28:03 -0000 1.6
@@ -220,6 +220,12 @@
}
}
+ # prefix typemap with Apache/ so when installed in the
+ # perl-lib-tree it won't be picked by non-mod_perl modules
+ if (exists $pm->{'lib/typemap'} ) {
+ $pm->{'lib/typemap'} = '$(INST_ARCHLIB)/auto/Apache/typemap';
+ }
+
#not everything in MakeMaker uses INST_LIB
#so we have do fixup a few PMs to make sure *everything*
#gets installed into Apache2/