From: Zac Medico Date: Sun, 2 Dec 2007 20:55:48 +0000 (-0000) Subject: Fix useq() so that it won't generate a bogus IUSE QA Notice X-Git-Tag: v2.2_pre1~245 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=805f509b5b1a6da0bfb67623780659b49238e16c;p=portage.git Fix useq() so that it won't generate a bogus IUSE QA Notice if called during the "depend" phase with a flag that uses IUSE defaults. svn path=/main/trunk/; revision=8805 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 2f015d3a6..f4de63b15 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -139,6 +139,8 @@ useq() { # Make sure we have this USE flag in IUSE if ! hasq "${u}" ${IUSE} ${E_IUSE} && \ + ! hasq "+${u}" ${IUSE} ${E_IUSE} && \ + ! hasq "-${u}" ${IUSE} ${E_IUSE} && \ ! hasq "${u}" ${PORTAGE_ARCHLIST} selinux && \ [[ ${u} != arch_* ]] && \ [[ ${u} != elibc_* ]] && \