more dependency fixes
authorFelix Fietkau <nbd@openwrt.org>
Tue, 20 Jun 2006 17:54:30 +0000 (17:54 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 20 Jun 2006 17:54:30 +0000 (17:54 +0000)
SVN-Revision: 4024

openwrt/scripts/gen_deps.pl

index 0983186f8614f84d2d3e0f94e076debf2c78980e..de8572c762bedc58121ad7d66331a09645afabee 100755 (executable)
@@ -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;
                }