metadata: fix handling of multiple build dependencies with different conditions

SVN-Revision: 25505
This commit is contained in:
Felix Fietkau 2011-02-13 02:52:22 +00:00
parent e6a0ebc989
commit 8d0cf8fde2

View file

@ -738,7 +738,7 @@ sub gen_package_mk() {
if ($idx) {
my $depline;
next if $pkg->{src} eq $pkg_dep->{src}.$suffix;
next if $dep{$pkg->{src}."->".$idx};
next if $dep{$condition.":".$pkg->{src}."->".$idx};
next if $dep{$pkg->{src}."->($dep)".$idx} and $pkg_dep->{vdepends};
my $depstr;