stas 2004/06/30 15:54:54
Modified: . Makefile.PL
Log:
must not import File::Spec functions inside MY, it breaks 5.6.x builds
Revision Changes Path
1.141 +3 -2 modperl-2.0/Makefile.PL
Index: Makefile.PL
===================================================================
RCS file: /home/cvs/modperl-2.0/Makefile.PL,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -u -r1.140 -r1.141
--- Makefile.PL 27 Jun 2004 23:41:06 -0000 1.140
+++ Makefile.PL 30 Jun 2004 22:54:53 -0000 1.141
@@ -472,7 +472,6 @@
package MY;
use Config;
-use File::Spec::Functions qw(catdir);
use constant WIN32 => $^O eq 'MSWin32';
my $apache_test_install;
@@ -489,7 +488,9 @@
if (WIN32) {
ModPerl::MM::add_dep(\$string, pure_all => 'aprext');
- my $aprext = catdir qw(xs APR aprext);
+ # must not import File::Spec functions inside MY, it breaks
+ # 5.6.x builds
+ my $aprext = File::Spec->catdir(qw(xs APR aprext));
$string .= <<"EOF";
aprext: