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 afb8fff298f83059ed8e89fd06c4900c5da75a4f..2b50d5c1a5a4b954b01e71cdcadeaec7124a43fd 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;