diff options
Diffstat (limited to 'scripts/gen_deps.pl')
-rwxr-xr-x | scripts/gen_deps.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gen_deps.pl b/scripts/gen_deps.pl index ef49fa3f4..40153bde3 100755 --- a/scripts/gen_deps.pl +++ b/scripts/gen_deps.pl @@ -18,8 +18,8 @@ while ($line = <>) { defined $pkg{$name} or $pkg{$name} = {}; $pkg{$name}->{src} = $src; }; - $line =~ /^Depends: \s*(.+)\s*$/ and do { - my @dep = split /,\s*/, $1; + $line =~ /^(Build-)?Depends: \s*(.+)\s*$/ and do { + my @dep = split /,\s*/, $2; $pkg{$name}->{depends} = \@dep; }; } |