sys-libs/glibc: Fix handling of ${EPREFIX} when building cross-glibc
authorJames Le Cuirot <chewi@gentoo.org>
Fri, 12 Jul 2019 21:13:47 +0000 (22:13 +0100)
committerJames Le Cuirot <chewi@gentoo.org>
Sun, 21 Jul 2019 13:30:54 +0000 (14:30 +0100)
commitea4cbdc9159c0ebbd29d4062bbb314393a8cc32f
tree253e0e4765d139b27c183e7efdb338cc5f47ce18
parent1c95732b0f076590596bb71dce1d5f79b102d6a1
sys-libs/glibc: Fix handling of ${EPREFIX} when building cross-glibc

It was duplicating the prefix in the form
${EPREFIX}/usr/${CTARGET}/${EPREFIX}.

This also fixes the kernel header version check, which was broken for
native prefixed builds.

Bug: https://bugs.gentoo.org/642604
Closes: https://github.com/gentoo/gentoo/pull/12435
Package-Manager: Portage-2.3.69, Repoman-2.3.13
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
sys-libs/glibc/glibc-2.29-r2.ebuild
sys-libs/glibc/glibc-9999.ebuild