install build-depends packages as well

SVN-Revision: 10793
This commit is contained in:
Nicolas Thill 2008-04-12 09:37:44 +00:00
parent a8761e71b7
commit 4e319c572f

View file

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