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

(-)bin/ebuild.sh (+14 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
for EXP_VAR in ${!IUSE_*}; do
1496
	EXP_VAR_PREFIX="$(echo ${EXP_VAR/IUSE_/} | tr '[A-Z]' '[a-z]')_"
1497
	for EXP_VAR_VAL in ${!EXP_VAR}; do
1498
		if [[ ${EXP_VAR_VAL} == ${EXP_VAR_PREFIX}* ]]; then
1499
			IUSE="${IUSE} ${EXP_VAR_VAL}"
1500
		else
1501
			IUSE="${IUSE} ${EXP_VAR_PREFIX}${EXP_VAR_VAL}"
1502
		fi
1503
	done
1504
done
1505
1506
unset EXP_VAR EXP_VAR_PREFIX EXP_VAR_VAL
1507
1494
if [ "${EBUILD_PHASE}" != "depend" ]; then
1508
if [ "${EBUILD_PHASE}" != "depend" ]; then
1495
	# Lock the dbkey variables after the global phase
1509
	# Lock the dbkey variables after the global phase
1496
	declare -r DEPEND RDEPEND SLOT SRC_URI RESTRICT HOMEPAGE LICENSE DESCRIPTION
1510
	declare -r DEPEND RDEPEND SLOT SRC_URI RESTRICT HOMEPAGE LICENSE DESCRIPTION

Return to bug 133327