metadata.pl: filter direct recursive depends like "select PACKAGE_kmod-ipv6 if PACKAGE_kmod-ipv6"
SVN-Revision: 29695
This commit is contained in:
parent
7251541786
commit
73b4974397
1 changed files with 1 additions and 0 deletions
|
@ -475,6 +475,7 @@ sub mconf_depends {
|
|||
$flags =~ /@/ or $depend = "PACKAGE_$depend";
|
||||
if ($condition) {
|
||||
if ($m =~ /select/) {
|
||||
next if $depend eq $condition;
|
||||
$depend = "$depend if $condition";
|
||||
} else {
|
||||
$depend = "!($condition) || $depend";
|
||||
|
|
Loading…
Reference in a new issue