From 67181962bfb285bf09a16432a7c2ed788643465e Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 21 Mar 2019 12:04:44 +0100 Subject: apkbuild-cpan: include modules that used to be part of core we need to check if a given module currently is a part of core. Modules which have a first_release may have been removed later, for example Module::Build. --- apkbuild-cpan.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apkbuild-cpan.in b/apkbuild-cpan.in index 5400a4a..4a72192 100644 --- a/apkbuild-cpan.in +++ b/apkbuild-cpan.in @@ -125,7 +125,8 @@ sub parse_deps { my $deps = ""; for my $module ($reqs->required_modules) { - if (my $perlver = Module::CoreList->first_release($module)) { + if (Module::CoreList->is_core($module)) { + my $perlver = Module::CoreList->first_release($module); say "$module is part of core perl since $perlver."; next; } -- cgit v1.2.3-70-g09d2