aboutsummaryrefslogtreecommitdiff
path: root/support/scripts
diff options
context:
space:
mode:
authorGravatar Francois Perrad <fperrad@gmail.com>2015-09-05 08:36:06 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2015-09-06 22:48:49 +0200
commit8498474ce3a8d623cfafd35b6bb119950890d2b0 (patch)
tree5a17afd38898526f1eacd48087c1f1224220b9bc /support/scripts
parent072986df1c6d9a80e058f3621a6ed17360288f44 (diff)
downloadbuildroot-8498474ce3a8d623cfafd35b6bb119950890d2b0.tar.gz
buildroot-8498474ce3a8d623cfafd35b6bb119950890d2b0.tar.bz2
scancpan: remove hack for Module-Build
with Perl 5.22, Module-Build is no longer a core module Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'support/scripts')
-rwxr-xr-xsupport/scripts/scancpan5
1 files changed, 0 insertions, 5 deletions
diff --git a/support/scripts/scancpan b/support/scripts/scancpan
index e7bd2bbb1e..1121212594 100755
--- a/support/scripts/scancpan
+++ b/support/scripts/scancpan
@@ -560,12 +560,8 @@ sub fetch {
$license_files{$name} = find_license_files( $manifest );
my %build = ();
my %runtime = ();
- my $mb;
foreach my $dep (@{$result->{dependency}}) {
my $modname = ${$dep}{module};
- $mb = 1 if $modname eq q{Module::Build};
- # Module::Build has a special treatment, because it is a core module,
- # but some module require a very recent version of it
next if $modname eq q{perl};
next if $modname =~ m|^Alien|;
next if $modname =~ m|^Win32|;
@@ -584,7 +580,6 @@ sub fetch {
$build{$distname} = 1;
}
}
- $build{q{Module-Build}} = 1 if $mb;
$deps_build{$name} = [keys %build];
$deps_runtime{$name} = [keys %runtime];
foreach my $distname (@{$deps_build{$name}}) {