diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-04-30 21:14:27 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-04-30 21:14:27 +0000 |
commit | d4efe1af81cffdfb62f29305be0af91ed8d91306 (patch) | |
tree | b71c815e8c279f9159078ea8d648d8538b776b5c | |
parent | 365784cdda6f212f5183d17932f457db9f01ad9a (diff) | |
download | portage-d4efe1af81cffdfb62f29305be0af91ed8d91306.tar.gz portage-d4efe1af81cffdfb62f29305be0af91ed8d91306.tar.bz2 portage-d4efe1af81cffdfb62f29305be0af91ed8d91306.zip |
Enable use() qa checks via PORTAGE_IUSE for all ebuild phases and for binary
packages since it should work fine now.
svn path=/main/trunk/; revision=13570
-rwxr-xr-x | bin/ebuild.sh | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 02587d9cb..65154143c 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -142,12 +142,7 @@ useq() { fi # Make sure we have this USE flag in IUSE - if [[ -n ${PORTAGE_IUSE} ]] && \ - [[ -n ${EBUILD_PHASE} ]] && \ - ! hasq ${EBUILD_PHASE} config depend info prerm postrm postinst && \ - [[ ${EMERGE_FROM} != binary ]] ; then - # TODO: Implement PORTAGE_IUSE for binary packages. Currently, - # it is only valid for build time phases. + if [[ -n $PORTAGE_IUSE && -n $EBUILD_PHASE ]] ; then [[ $u =~ $PORTAGE_IUSE ]] || \ eqawarn "QA Notice: USE Flag '${u}' not" \ "in IUSE for ${CATEGORY}/${PF}" |