more dependency fixes

SVN-Revision: 4024
This commit is contained in:
Felix Fietkau 2006-06-20 17:54:30 +00:00
parent 879a46444f
commit ea43523991
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ while ($line = <>) {
$line =~ /^(Build-)?Depends: \s*(.+)\s*$/ and do {
$pkg{$name}->{depends} ||= [];
foreach my $v (split /\s+/, $2) {
next if $v =~ /^@/;
next if $v =~ /^[\+]?@/;
$v =~ s/^\+//;
push @{$pkg{$name}->{depends}}, $v;
}