Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 87933 Details for
Bug 133327
add USE_EXPAND flags to IUSE via IUSE_* variables
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add an iuse_expand() function to eutils.eclass
eutils.eclass.patch (text/plain), 669 bytes, created by
Zac Medico
on 2006-05-30 18:14:51 UTC
(
hide
)
Description:
add an iuse_expand() function to eutils.eclass
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2006-05-30 18:14:51 UTC
Size:
669 bytes
patch
obsolete
>--- eutils.eclass.orig 2006-05-26 23:20:11.000000000 -0700 >+++ eutils.eclass 2006-05-30 18:00:58.000000000 -0700 >@@ -1669,3 +1669,17 @@ > newbin "${tmpwrapper}" "${wrapper}" > fi > } >+ >+# iuse_expand >+# >+# Grab all IUSE_* variables from the environment, automatically expand them, >+# and add them to IUSE. The IUSE_* variable names should end with the name >+# of a USE_EXPAND variable such as VIDEO_CARDS. >+iuse_expand() >+ local exp_var exp_var_prefix exp_var_val >+ for exp_var in ${!IUSE_*}; do >+ exp_var_prefix="$(echo ${exp_var/IUSE_/} | tr '[A-Z]' '[a-z]')_" >+ for exp_var_val in ${!exp_var}; do >+ IUSE="${IUSE} ${exp_var_prefix}${exp_var_val}" >+ done >+ done
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 133327
:
87667
|
87706
|
87827
| 87933