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

Collapse All | Expand All

(-)glibc-2.5.ebuild (-1 / +8 lines)
Lines 468-473 toolchain-glibc_src_install() { Link Here
468
	# creation of the "factory" symlink in pkg_postinst().
468
	# creation of the "factory" symlink in pkg_postinst().
469
	rm -f "${D}"/etc/localtime
469
	rm -f "${D}"/etc/localtime
470
470
471
	# Generate all locales if this is a native build as locale generation
472
	if [[ ${CBUILD} == ${CHOST} ]] ; then
473
		local x jobs
474
		for x in ${MAKEOPTS} ; do [[ ${x} == -j* ]] && jobs=${x#-j} ; done
475
		"${D}"/usr/sbin/locale-gen -j ${jobs:-1} --all --destdir "${D}"
476
	fi
477
471
	# simple test to make sure our new glibc isnt completely broken.
478
	# simple test to make sure our new glibc isnt completely broken.
472
	# for now, skip the multilib scenario.  also make sure we don't
479
	# for now, skip the multilib scenario.  also make sure we don't
473
	# test with statically built binaries since they will fail.
480
	# test with statically built binaries since they will fail.
Lines 544-550 toolchain-glibc_pkg_postinst() { Link Here
544
		fi
551
		fi
545
		local x jobs
552
		local x jobs
546
		for x in ${MAKEOPTS} ; do [[ ${x} == -j* ]] && jobs=${x#-j} ; done
553
		for x in ${MAKEOPTS} ; do [[ ${x} == -j* ]] && jobs=${x#-j} ; done
547
		locale-gen -j ${jobs:-1} --config "${locale_list}"
554
		locale-gen -j ${jobs:-1} --update --config "${locale_list}"
548
	fi
555
	fi
549
556
550
	echo
557
	echo

Return to bug 146882