Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 66114 Details for
Bug 62001
Have portage QA checks consider USE_EXPAND
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
make useq not be stupid
useq_use_expand_check.patch (text/plain), 1.02 KB, created by
Brian Harring (RETIRED)
on 2005-08-16 17:53:11 UTC
(
hide
)
Description:
make useq not be stupid
Filename:
MIME Type:
Creator:
Brian Harring (RETIRED)
Created:
2005-08-16 17:53:11 UTC
Size:
1.02 KB
patch
obsolete
>Index: ebuild.sh >=================================================================== >RCS file: /var/cvsroot/gentoo-src/portage/bin/ebuild.sh,v >retrieving revision 1.201.2.40 >diff -u -r1.201.2.40 ebuild.sh >--- ebuild.sh 9 Aug 2005 11:25:44 -0000 1.201.2.40 >+++ ebuild.sh 17 Aug 2005 00:50:27 -0000 >@@ -15,6 +15,7 @@ > if [ -f "${T}/environment" ]; then > source "${T}/environment" &>/dev/null > fi >+ USE_EXPAND=$(echo ${USE_EXPAND} | tr A-Z a-z) > fi > > if [ -n "$#" ]; then >@@ -130,7 +131,19 @@ > > # Make sure we have this USE flag in IUSE > if ! hasq "${u}" ${IUSE} ${E_IUSE} && ! hasq "${u}" ${PORTAGE_ARCHLIST} selinux; then >- echo "QA Notice: USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}" >&2 >+ local x >+ local invalid=1 >+ for x in ${USE_EXPAND}; do >+ if [ "${u:0:${#x}}" == "${x}" ]; then >+ if hasq "${x}" ${IUSE} ${E_IUSE}; then >+ unset invalid >+ fi >+ break >+ fi >+ done >+ if [ -n "${invalid}" ]; then >+ echo "QA Notice: USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}" >&2 >+ fi > fi > > for x in ${USE}; do
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 62001
: 66114