Revised the prerequisite module declarations in Makefile.PL and Build.PL.
This commit is contained in:
parent
ce9a1fde0e
commit
fd0c953014
6
Build.PL
6
Build.PL
@ -60,11 +60,11 @@ my $build = Module::Build->new(
|
||||
"perl" => "5.8.0",
|
||||
},
|
||||
recommends => {
|
||||
"File::MMagic" => 0,
|
||||
"File::MMagic" => 0,
|
||||
"IO::Compress::Gzip" => 0,
|
||||
"IO::Compress::Bzip2" => 0,
|
||||
"IO::Compress::Xz" => 0,
|
||||
"Term::ReadKey" => 0,
|
||||
"IO::Compress::Xz" => 0,
|
||||
"Term::ReadKey" => 0,
|
||||
},
|
||||
build_requires => {
|
||||
"Module::Signature" => 0,
|
||||
|
@ -51,11 +51,11 @@ EOT
|
||||
# Optional prerequisite modules
|
||||
our (%OPT_PREREQ);
|
||||
%OPT_PREREQ = (
|
||||
"File::MMagic" => 0,
|
||||
"File::MMagic" => 0,
|
||||
"IO::Compress::Gzip" => 0,
|
||||
"IO::Compress::Bzip2" => 0,
|
||||
"IO::Compress::Xz" => 0,
|
||||
"Term::ReadKey" => 0,
|
||||
"IO::Compress::Xz" => 0,
|
||||
"Term::ReadKey" => 0,
|
||||
);
|
||||
delete $OPT_PREREQ{$_}
|
||||
foreach grep eval "use $_ $OPT_PREREQ{$_} qw(); 1;", sort keys %OPT_PREREQ;
|
||||
|
Loading…
Reference in New Issue
Block a user