summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xapkbuild-cpan.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/apkbuild-cpan.in b/apkbuild-cpan.in
index dee2cf5..6f9290b 100755
--- a/apkbuild-cpan.in
+++ b/apkbuild-cpan.in
@@ -244,10 +244,12 @@ sub do_depends {
my $deps = parse_deps $meta->effective_prereqs->requirements_for('runtime', 'requires');
say "CPAN deps: $deps";
- say "Recommend: " . parse_deps $meta->effective_prereqs->requirements_for('runtime', 'recommends');
+ say "Recommend: " . parse_deps $meta->effective_prereqs->requirements_for('runtime', 'recommends');
my $makedeps = parse_deps $meta->effective_prereqs->requirements_for('build', 'requires');
- $makedeps = parse_deps $meta->effective_prereqs->requirements_for('build', 'recommends');
+ $makedeps .= ' ' . parse_deps $meta->effective_prereqs->requirements_for('build', 'recommends');
+ $makedeps .= ' ' . parse_deps $meta->effective_prereqs->requirements_for('test', 'requires');
+ $makedeps .= ' ' . parse_deps $meta->effective_prereqs->requirements_for('test', 'recommends');
say "CPAN build deps: $makedeps";
my $text = read_file "APKBUILD";