From 7c1ace82e82ecebd13ac180bb0d1e6d82258e99b Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Wed, 25 Dec 2019 17:28:55 +0800 Subject: sys-libs/glibc: cross-*: pass EPREFIX to --with-headers This is a follow up of ea4cbdc9159c0ebbd29d4062bbb314393a8cc32f. Otherwise when building cross toolchain on Gentoo Prefix, configure cannot find the needed linux-headers. Bug: https://bugs.gentoo.org/642604 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Benda Xu --- sys-libs/glibc/glibc-2.30-r3.ebuild | 4 ++-- sys-libs/glibc/glibc-9999.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys-libs/glibc') diff --git a/sys-libs/glibc/glibc-2.30-r3.ebuild b/sys-libs/glibc/glibc-2.30-r3.ebuild index 7bbdf0c882ad..393684b8a8b3 100644 --- a/sys-libs/glibc/glibc-2.30-r3.ebuild +++ b/sys-libs/glibc/glibc-2.30-r3.ebuild @@ -929,7 +929,7 @@ glibc_do_configure() { --host=${CTARGET_OPT:-${CTARGET}} $(use_enable profile) $(use_with gd) - --with-headers=$(alt_build_headers) + --with-headers=$(build_eprefix)$(alt_build_headers) --prefix="$(host_eprefix)/usr" --sysconfdir="$(host_eprefix)/etc" --localstatedir="$(host_eprefix)/var" @@ -1084,7 +1084,7 @@ glibc_headers_configure() { --enable-bind-now --build=${CBUILD_OPT:-${CBUILD}} --host=${CTARGET_OPT:-${CTARGET}} - --with-headers=$(alt_build_headers) + --with-headers=$(build_eprefix)$(alt_build_headers) --prefix="$(host_eprefix)/usr" ${EXTRA_ECONF} ) diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild index a3d9d33a3686..94ff23bb27e8 100644 --- a/sys-libs/glibc/glibc-9999.ebuild +++ b/sys-libs/glibc/glibc-9999.ebuild @@ -929,7 +929,7 @@ glibc_do_configure() { --host=${CTARGET_OPT:-${CTARGET}} $(use_enable profile) $(use_with gd) - --with-headers=$(alt_build_headers) + --with-headers=$(build_eprefix)$(alt_build_headers) --prefix="$(host_eprefix)/usr" --sysconfdir="$(host_eprefix)/etc" --localstatedir="$(host_eprefix)/var" @@ -1084,7 +1084,7 @@ glibc_headers_configure() { --enable-bind-now --build=${CBUILD_OPT:-${CBUILD}} --host=${CTARGET_OPT:-${CTARGET}} - --with-headers=$(alt_build_headers) + --with-headers=$(build_eprefix)$(alt_build_headers) --prefix="$(host_eprefix)/usr" ${EXTRA_ECONF} ) -- cgit v1.2.3-18-g5258