fix for multiple dependency flags

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4023 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2006-06-20 17:50:49 +00:00
parent c5fd401083
commit 6914e025fa
1 changed files with 1 additions and 1 deletions

View File

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