install build-depends packages as well
authorNicolas Thill <nico@openwrt.org>
Sat, 12 Apr 2008 09:37:44 +0000 (09:37 +0000)
committerNicolas Thill <nico@openwrt.org>
Sat, 12 Apr 2008 09:37:44 +0000 (09:37 +0000)
SVN-Revision: 10793

scripts/feeds

index afb8fff..2b50d5c 100755 (executable)
@@ -265,7 +265,7 @@ sub install_package {
        $installed{$src} and return 0;
 
        # install all dependencies
-       foreach my $dep (@{$pkg->{depends}}) {
+       foreach my $dep (@{$pkg->{depends}}, @{$pkg->{builddepends}}) {
                next if $dep =~ /@/;
                $dep =~ s/^\+//;
                install_package($feed, $dep) == 0 or $ret = 1;