X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b04cc1a5e186d8a09e6faa2028c7755f401cc56f..f9a305d04432a0a09a1e99ca3bb57932c72cb355:/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; }