1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 01:43:08 +02:00

fix for multiple dependency flags

git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4023 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-06-20 17:50:49 +00:00
parent 293ad9c61e
commit 5395d14488

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