metadata.pl: fix a bug where dependency flags (@ and +) from a dependency were inherited by others

SVN-Revision: 17840
This commit is contained in:
Nicolas Thill 2009-10-03 20:01:22 +00:00
parent 8183d10d17
commit c9b0c63f07

View File

@ -415,8 +415,8 @@ sub mconf_depends {
my @depends = @$depends;
foreach my $depend (@depends) {
my $m = "depends";
$depend =~ s/^([@\+]+)//;
my $flags = $1;
my $flags = "";
$depend =~ s/^([@\+]+)// and $flags = $1;
my $vdep;
my $condition = $parent_condition;