install build-depends packages as well

SVN-Revision: 10793
owl
Nicolas Thill 2008-04-12 09:37:44 +00:00
parent a8761e71b7
commit 4e319c572f
1 changed files with 1 additions and 1 deletions

View File

@ -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;