more dependency fixes

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4024 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau 2006-06-20 17:54:30 +00:00
parent 6914e025fa
commit f3ad9f9763

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;
}