scripts/metadata.pl: fix ignoring missing host dependencies

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39917 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2014-03-13 14:14:06 +00:00
parent 57e0faf0bb
commit 1553b40323
1 changed files with 2 additions and 1 deletions

View File

@ -774,9 +774,10 @@ sub gen_package_mk() {
} elsif (defined($srcpackage{$dep})) { } elsif (defined($srcpackage{$dep})) {
$idx = $subdir{$dep}.$dep; $idx = $subdir{$dep}.$dep;
} }
$idx .= $suffix;
undef $idx if $idx eq 'base-files'; undef $idx if $idx eq 'base-files';
if ($idx) { if ($idx) {
$idx .= $suffix;
my $depline; my $depline;
next if $pkg->{src} eq $pkg_dep->{src}.$suffix; next if $pkg->{src} eq $pkg_dep->{src}.$suffix;
next if $dep{$condition.":".$pkg->{src}."->".$idx}; next if $dep{$condition.":".$pkg->{src}."->".$idx};