aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-03-13 14:14:06 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-03-13 14:14:06 +0000
commit1553b40323cf901438077e58db0c3544875585f5 (patch)
tree735ebc9463e72247193eb3c1a59a80a3068f66aa
parent57e0faf0bbffb920f1d5757c2d53abd58c67bbf7 (diff)
downloadupstream-1553b40323cf901438077e58db0c3544875585f5.tar.gz
upstream-1553b40323cf901438077e58db0c3544875585f5.tar.bz2
upstream-1553b40323cf901438077e58db0c3544875585f5.zip
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
-rwxr-xr-xscripts/metadata.pl3
1 files changed, 2 insertions, 1 deletions
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};