dougm 01/07/11 18:34:46
Modified: . Makefile.PL
Log:
fixes for building with 5.004
Revision Changes Path
1.193 +4 -2 modperl/Makefile.PL
Index: Makefile.PL
===================================================================
RCS file: /home/cvs/modperl/Makefile.PL,v
retrieving revision 1.192
retrieving revision 1.193
diff -u -r1.192 -r1.193
--- Makefile.PL 2001/07/10 15:45:21 1.192
+++ Makefile.PL 2001/07/12 01:34:44 1.193
@@ -341,7 +341,7 @@
if($k eq 'PREFIX')
{
- use File::Spec;
+ require File::Spec;
$MOD_PERL_PREFIX =
File::Spec->catfile($v,'lib','site_perl',$Config{'version'},$Config{'archname'});
}
@@ -2043,7 +2043,9 @@
PERL_STATIC_EXTS PERL_SSI PERL_SECTIONS USE_APXS
WITH_APXS);
{
no strict 'refs';
- $my_config{$_} = ${$_} for @other_hooks;
+ for (@other_hooks) {
+ $my_config{$_} = ${$_};
+ }
}
if ($win32_auto) {
for (qw(APACHE_INC APACHE_LIB MODPERL_INC MODPERL_LIB)) {