summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apkbuild-cpan.in3
1 files changed, 2 insertions, 1 deletions
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;
}