From: Benda Xu Date: Tue, 5 May 2020 14:13:18 +0000 (+0800) Subject: p/f/prefix/s/profile.bashrc: move glibc hack to configure. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ef7b5d2753a1f756a09223de2ac1b85697faed83;p=gentoo.git 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 --- 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 \