fix for multiple dependency flags

SVN-Revision: 4023
owl
Felix Fietkau 2006-06-20 17:50:49 +00:00
parent e600bdecca
commit 879a46444f
1 changed files with 1 additions and 1 deletions

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