1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-30 17:40:16 +02:00

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:
nbd 2006-06-20 17:54:30 +00:00
parent 5395d14488
commit c435c60b3b

View File

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