From: Zac Medico Date: Tue, 6 Nov 2007 08:35:56 +0000 (-0000) Subject: Go ahead and exempt selected profile-specific USE_EXPAND X-Git-Tag: v2.1.3.19~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d820c840c1d6c3e4234f0923d1b78044c74bb897;p=portage.git Go ahead and exempt selected profile-specific USE_EXPAND flags from IUSE QA Notices since we are planning to make these particular flags into implicit members of IUSE. We can make this extensible later, but for now we just want to eliminate some useless QA Notices (a subset of bug #70648). We're not exempting any non profile- specific USE_EXPAND flags here. For non profile-specific flags, we intend to implement an IUSE syntax extension (bug #133327). (trunk r8442) svn path=/main/branches/2.1.2/; revision=8443 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index df3078f77..8ede30a95 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -173,7 +173,12 @@ useq() { fi # Make sure we have this USE flag in IUSE - if ! hasq "${u}" ${IUSE} ${E_IUSE} && ! hasq "${u}" ${PORTAGE_ARCHLIST} selinux; then + if ! hasq "${u}" ${IUSE} ${E_IUSE} && \ + ! hasq "${u}" ${PORTAGE_ARCHLIST} selinux && \ + [[ ${u} != arch_* ]] && \ + [[ ${u} != elibc_* ]] && \ + [[ ${u} != kernel_* ]] && \ + [[ ${u} != userland_* ]] ; then eqawarn "QA Notice: USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}" fi