From: Felix Fietkau Date: Thu, 13 Mar 2014 14:14:06 +0000 (+0000) Subject: scripts/metadata.pl: fix ignoring missing host dependencies X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e9abf9f8a08bd44a3008faf1b0b9317df9b7d11d;p=openwrt%2Fstaging%2Fzorun.git scripts/metadata.pl: fix ignoring missing host dependencies Signed-off-by: Felix Fietkau SVN-Revision: 39917 --- diff --git a/scripts/metadata.pl b/scripts/metadata.pl index 8fe1b90cf6..f075525e1d 100755 --- a/scripts/metadata.pl +++ b/scripts/metadata.pl @@ -774,9 +774,10 @@ sub gen_package_mk() { } elsif (defined($srcpackage{$dep})) { $idx = $subdir{$dep}.$dep; } - $idx .= $suffix; undef $idx if $idx eq 'base-files'; if ($idx) { + $idx .= $suffix; + my $depline; next if $pkg->{src} eq $pkg_dep->{src}.$suffix; next if $dep{$condition.":".$pkg->{src}."->".$idx};