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

SVN-Revision: 17840
master
Nicolas Thill 15 years ago
parent 8183d10d17
commit c9b0c63f07
  1. 4
      scripts/metadata.pl

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

Loading…
Cancel
Save