X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b04cc1a5e186d8a09e6faa2028c7755f401cc56f..13cddb00feb38279aa9f1e320db62e19ac951eb3:/scripts/feeds diff --git a/scripts/feeds b/scripts/feeds index deafaca12..e51b17c37 100755 --- a/scripts/feeds +++ b/scripts/feeds @@ -327,10 +327,11 @@ sub install_package { # install all dependencies foreach my $vpkg (@{$srcpackage{$src}}, $pkg) { - foreach my $dep (@{$vpkg->{depends}}, @{$vpkg->{builddepends}}) { + foreach my $dep (@{$vpkg->{depends}}, @{$vpkg->{builddepends}}, @{$vpkg->{"builddepends/host"}}) { next if $dep =~ /@/; $dep =~ s/^\+//; $dep =~ s/^.+://; + $dep =~ s/\/.+$//; next unless $dep; install_package($feed, $dep) == 0 or $ret = 1; }