dougm 00/04/24 21:25:42
Modified: lib/Apache Build.pm
. Makefile.PL
Log:
workaround MakeMaker braindeadness
Revision Changes Path
1.11 +5 -2 modperl-2.0/lib/Apache/Build.pm
Index: Build.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/lib/Apache/Build.pm,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Build.pm 2000/04/21 19:43:34 1.10
+++ Build.pm 2000/04/25 04:25:40 1.11
@@ -341,16 +341,19 @@
(my $obj = $self->freeze) =~ s/^/ /;
open my $fh, '>', $file or die "open $file: $!";
+ #work around autosplit braindeadness
+ my $package = 'package Apache::BuildConfig';
+
print $fh <<EOF;
-package Apache::BuildConfig;
+$package;
use Apache::Build ();
+
sub new {
$obj;
}
1;
-__END__
EOF
close $fh;
1.14 +1 -0 modperl-2.0/Makefile.PL
Index: Makefile.PL
===================================================================
RCS file: /home/cvs/modperl-2.0/Makefile.PL,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- Makefile.PL 2000/04/25 03:47:31 1.13
+++ Makefile.PL 2000/04/25 04:25:41 1.14
@@ -26,6 +26,7 @@
VERSION => $VERSION,
macro => {
MODPERL_SRC => $code->path,
+ PERL => $build->perl_config('perl5'),
},
clean => {
FILES => "@{ clean_files() }",