From ef7b5d2753a1f756a09223de2ac1b85697faed83 Mon Sep 17 00:00:00 2001 From: Benda Xu Date: Tue, 5 May 2020 22:13:18 +0800 Subject: [PATCH] p/f/prefix/s/profile.bashrc: move glibc hack to configure. sys-libs/glibc are migrated to modern EAPI to provide src_configure(). Signed-off-by: Benda Xu --- profiles/features/prefix/standalone/profile.bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/features/prefix/standalone/profile.bashrc b/profiles/features/prefix/standalone/profile.bashrc index 49293adb98d1..bef26cfd012f 100644 --- a/profiles/features/prefix/standalone/profile.bashrc +++ b/profiles/features/prefix/standalone/profile.bashrc @@ -48,10 +48,10 @@ elif [[ ${CATEGORY}/${PN} == sys-devel/binutils && ${EBUILD_PHASE} == prepare ]] fi [[ -n "${f}" ]] && sed -i -r "s,\"/etc,\"${EPREFIX}/etc," "${f}" eend $? -elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == compile ]]; then +elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == configure ]]; then cd "${S}" einfo "Prefixifying hardcoded path" - + for f in libio/iopopen.c \ shadow/lckpwdf.c resolv/{netdb,resolv}.h elf/rtld.c \ nis/nss_compat/compat-{grp,initgroups,{,s}pwd}.c \ -- 2.26.2