Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 62001
Collapse All | Expand All

(-)ebuild.sh (-1 / +14 lines)
Lines 15-20 Link Here
15
	if [ -f "${T}/environment" ]; then
15
	if [ -f "${T}/environment" ]; then
16
		source "${T}/environment" &>/dev/null
16
		source "${T}/environment" &>/dev/null
17
	fi
17
	fi
18
	USE_EXPAND=$(echo ${USE_EXPAND} | tr A-Z a-z)
18
fi
19
fi
19
20
20
if [ -n "$#" ]; then
21
if [ -n "$#" ]; then
Lines 130-136 Link Here
130
	
131
	
131
	# Make sure we have this USE flag in IUSE
132
	# Make sure we have this USE flag in IUSE
132
	if ! hasq "${u}" ${IUSE} ${E_IUSE} && ! hasq "${u}" ${PORTAGE_ARCHLIST} selinux; then
133
	if ! hasq "${u}" ${IUSE} ${E_IUSE} && ! hasq "${u}" ${PORTAGE_ARCHLIST} selinux; then
133
		echo "QA Notice: USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}" >&2
134
		local x
135
		local invalid=1
136
		for x in ${USE_EXPAND}; do
137
			if [ "${u:0:${#x}}" == "${x}" ]; then
138
				if hasq "${x}" ${IUSE} ${E_IUSE}; then
139
					unset invalid
140
				fi
141
				break
142
			fi
143
		done
144
		if [ -n "${invalid}" ]; then
145
			echo "QA Notice: USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}" >&2
146
		fi
134
	fi
147
	fi
135
148
136
	for x in ${USE}; do
149
	for x in ${USE}; do

Return to bug 62001