p/f/prefix/s/profile.bashrc: move glibc hack to configure.
authorBenda Xu <heroxbd@gentoo.org>
Tue, 5 May 2020 14:13:18 +0000 (22:13 +0800)
committerBenda Xu <heroxbd@gentoo.org>
Mon, 11 May 2020 07:16:04 +0000 (15:16 +0800)
sys-libs/glibc are migrated to modern EAPI to provide src_configure().

Signed-off-by: Benda Xu <heroxbd@gentoo.org>
profiles/features/prefix/standalone/profile.bashrc

index 49293adb98d1775b9541051141a8eccd07699487..bef26cfd012fc5bc71cafc718994f6cafd9a8124 100644 (file)
@@ -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 \