aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/metadata.pm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/metadata.pm')
-rw-r--r--scripts/metadata.pm8
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/metadata.pm b/scripts/metadata.pm
index a220231f0d..fd18b18a29 100644
--- a/scripts/metadata.pm
+++ b/scripts/metadata.pm
@@ -76,7 +76,13 @@ sub parse_package_metadata($) {
/^Provides: \s*(.+)\s*$/ and do {
my @vpkg = split /\s+/, $1;
foreach my $vpkg (@vpkg) {
- $package{$vpkg} or $package{$vpkg} = { vdepends => [] };
+ $package{$vpkg} or $package{$vpkg} = {
+ name => $vpkg,
+ vdepends => [],
+ src => $src,
+ subdir => $subdir,
+ makefile => $makefile
+ };
push @{$package{$vpkg}->{vdepends}}, $pkg->{name};
}
};