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

(-)musl-1.1.4.ebuild (-5 lines)
Lines 30-36 Link Here
30
SLOT="0"
30
SLOT="0"
31
IUSE="crosscompile_opts_headers-only nls"
31
IUSE="crosscompile_opts_headers-only nls"
32
32
33
RDEPEND="nls? ( sys-devel/gettext )"
34
if [[ ${CATEGORY} != cross-* ]] ; then
33
if [[ ${CATEGORY} != cross-* ]] ; then
35
	RDEPEND+=" sys-apps/getent"
34
	RDEPEND+=" sys-apps/getent"
36
fi
35
fi
Lines 82-91 Link Here
82
	if is_crosscompile ; then
81
	if is_crosscompile ; then
83
		dosym usr/include /usr/${CTARGET}/sys-include
82
		dosym usr/include /usr/${CTARGET}/sys-include
84
	fi
83
	fi
85
86
	# If we are going to use gnu's gettext then we have to
87
	# move musl's libintl out of the way.
88
	use nls && mv "${D}"/usr/include/libintl{,-musl}.h
89
}
84
}
90
85
91
pkg_postinst() {
86
pkg_postinst() {

Return to bug 524982