metadata.pl: filter direct recursive depends like "select PACKAGE_kmod-ipv6 if PACKAGE_kmod-ipv6"

SVN-Revision: 29695
master
Jo-Philipp Wich 13 years ago
parent 7251541786
commit 73b4974397
  1. 1
      scripts/metadata.pl

@ -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…
Cancel
Save