diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-04-30 21:15:37 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-04-30 21:15:37 +0000 |
commit | b3d6d9290bb69bb482a36f565c3792d7f06866b2 (patch) | |
tree | 0af2aa28dc1cf55ef4195c7c0162944176670878 /bin/ebuild.sh | |
parent | Move PORTAGE_RESTRICT calculation to config.setcpv() (lazy evaluation) and (diff) | |
download | portage-multirepo-b3d6d9290bb69bb482a36f565c3792d7f06866b2.tar.gz portage-multirepo-b3d6d9290bb69bb482a36f565c3792d7f06866b2.tar.bz2 portage-multirepo-b3d6d9290bb69bb482a36f565c3792d7f06866b2.zip |
Enable use() qa checks via PORTAGE_IUSE for all ebuild phases and for binary
packages since it should work fine now. (trunk r13570)
svn path=/main/branches/2.1.6/; revision=13572
Diffstat (limited to 'bin/ebuild.sh')
-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 02587d9c..65154143 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}" |