From b82c3dff26130a2b5fed86bbfee8e7913ccc3d40 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 13 Mar 2014 14:14:06 +0000 Subject: [PATCH] scripts/metadata.pl: fix ignoring missing host dependencies Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39917 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/metadata.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}; -- 2.11.0