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

Collapse All | Expand All

(-)a/sys-libs/glibc/glibc-2.33.ebuild (-2 / +5 lines)
Lines 724-729 pkg_pretend() { Link Here
724
pkg_setup() {
724
pkg_setup() {
725
	# see bug 682570
725
	# see bug 682570
726
	[[ -z ${BOOTSTRAP_RAP} ]] && python-any-r1_pkg_setup
726
	[[ -z ${BOOTSTRAP_RAP} ]] && python-any-r1_pkg_setup
727
	LOCALE_GEN_ROOT="${EROOT}" # For locale-gen later
727
}
728
}
728
729
729
# src_unpack
730
# src_unpack
Lines 1175-1183 run_locale_gen() { Link Here
1175
	if [[ "${root}" == "--inplace-glibc" ]] ; then
1176
	if [[ "${root}" == "--inplace-glibc" ]] ; then
1176
		inplace="--inplace-glibc"
1177
		inplace="--inplace-glibc"
1177
		root="$2"
1178
		root="$2"
1179
		# Use locale src in build tree
1180
		export I18NPATH="${ED}"/usr/share/i18n
1178
	fi
1181
	fi
1179
1182
1180
	local locale_list="${root}/etc/locale.gen"
1183
	# Always use hosts(EROOT) locale config
1184
	local locale_list="${LOCALE_GEN_ROOT}/etc/locale.gen"
1181
1185
1182
	pushd "${ED}"/$(get_libdir) >/dev/null
1186
	pushd "${ED}"/$(get_libdir) >/dev/null
1183
1187
1184
- 

Return to bug 785406