Re: [Module::Build] [ilya@Math.Berkeley.EDU: Module-CoreList-1.93]
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2003-12-20 14:55:03
|
Thanks, applied.
-Ken
On Friday, December 19, 2003, at 02:16 AM, Richard Clamp wrote:
> Hi, I'm redirecting this to the Module::Build list as the Makefile.PL
> was auto generated by it.
>
> Module::Build version 0.21, with create_makefile_pl => 'passthrough'
>
> --
> Richard Clamp <ric...@un...>
>
> From: Ilya Zakharevich <il...@Ma...>
> Date: Thu Dec 18, 2003 7:47:23 PM US/Central
> To: ric...@un...
> Subject: Module-CoreList-1.93
>
>
> Thank you for designing this module. However, I needed some
> modifications to make it build.
>
> The first chunk is cosmetic only; the second one avoids an infinite
> loop if
> the install of Module::Build fails.
>
> Thanks,
> Ilya
>
> --- ./Makefile.PL-pre Fri Nov 14 05:55:04 2003
> +++ ./Makefile.PL Sun Dec 14 17:15:52 2003
> @@ -7,8 +7,7 @@
> (' Install Module::Build now from CPAN?', 'y');
>
> unless ($yn =~ /^y/i) {
> - warn " *** Cannot install without Module::Build. Exiting ...\n";
> - exit 1;
> + die " *** Cannot install without Module::Build. Exiting ...\n";
> }
>
> require Cwd;
> @@ -19,7 +18,8 @@
> my $cwd = Cwd::cwd();
> my $makefile = File::Spec->rel2abs($0);
>
> - CPAN::Shell->install('Module::Build::Compat');
> + CPAN::Shell->install('Module::Build::Compat')
> + or die " *** Cannot install without Module::Build. Exiting ...\n";
>
> chdir $cwd or die "Cannot chdir() back to $cwd: $!";
> exec $^X, $makefile, @ARGV; # Redo now that we have
> Module::Build
>
>
|