fix for multiple dependency flags

SVN-Revision: 4023
This commit is contained in:
Felix Fietkau 2006-06-20 17:50:49 +00:00
parent e600bdecca
commit 879a46444f

View file

@ -29,7 +29,7 @@ sub print_category($) {
} }
foreach my $depend (@{$pkg->{depends}}) { foreach my $depend (@{$pkg->{depends}}) {
my $m = "depends"; my $m = "depends";
$depend =~ s/^([@\+])//; $depend =~ s/^([@\+]+)//;
my $flags = $1; my $flags = $1;
$flags =~ /@/ or $depend = "PACKAGE_$depend"; $flags =~ /@/ or $depend = "PACKAGE_$depend";
$flags =~ /\+/ and $m = "select"; $flags =~ /\+/ and $m = "select";