Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 133327 | Differences between
and this patch

Collapse All | Expand All

(-)ebuild.sh.orig (+11 lines)
Lines 1491-1496 Link Here
1491
1491
1492
unset E_IUSE E_DEPEND E_RDEPEND E_PDEPEND
1492
unset E_IUSE E_DEPEND E_RDEPEND E_PDEPEND
1493
1493
1494
#update IUSE with USE_EXPAND variables
1495
MY_USE_EXPAND="$(set | grep -E '^IUSE_' | sed 's/=.*//')"
1496
for EXP_VAR in ${MY_USE_EXPAND}; do
1497
	EXP_VAR_PREFIX="$(echo ${EXP_VAR/IUSE_/} | tr '[A-Z]' '[a-z]')_"
1498
	for EXP_VAR_VAL in ${!EXP_VAR}; do
1499
		IUSE="${IUSE} ${EXP_VAR_PREFIX}${EXP_VAR_VAL}"
1500
	done
1501
done
1502
1503
unset MY_USE_EXPAND EXP_VAR EXP_VAR_PREFIX EXP_VAR_VAL
1504
1494
if [ "${EBUILD_PHASE}" != "depend" ]; then
1505
if [ "${EBUILD_PHASE}" != "depend" ]; then
1495
	# Lock the dbkey variables after the global phase
1506
	# Lock the dbkey variables after the global phase
1496
	declare -r DEPEND RDEPEND SLOT SRC_URI RESTRICT HOMEPAGE LICENSE DESCRIPTION
1507
	declare -r DEPEND RDEPEND SLOT SRC_URI RESTRICT HOMEPAGE LICENSE DESCRIPTION

Return to bug 133327