1 |
commit: ef7b5d2753a1f756a09223de2ac1b85697faed83 |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 5 14:13:18 2020 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 11 07:16:04 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef7b5d27 |
7 |
|
8 |
p/f/prefix/s/profile.bashrc: move glibc hack to configure. |
9 |
|
10 |
sys-libs/glibc are migrated to modern EAPI to provide src_configure(). |
11 |
|
12 |
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org> |
13 |
|
14 |
profiles/features/prefix/standalone/profile.bashrc | 4 ++-- |
15 |
1 file changed, 2 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/profiles/features/prefix/standalone/profile.bashrc b/profiles/features/prefix/standalone/profile.bashrc |
18 |
index 49293adb98d..bef26cfd012 100644 |
19 |
--- a/profiles/features/prefix/standalone/profile.bashrc |
20 |
+++ b/profiles/features/prefix/standalone/profile.bashrc |
21 |
@@ -48,10 +48,10 @@ elif [[ ${CATEGORY}/${PN} == sys-devel/binutils && ${EBUILD_PHASE} == prepare ]] |
22 |
fi |
23 |
[[ -n "${f}" ]] && sed -i -r "s,\"/etc,\"${EPREFIX}/etc," "${f}" |
24 |
eend $? |
25 |
-elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == compile ]]; then |
26 |
+elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == configure ]]; then |
27 |
cd "${S}" |
28 |
einfo "Prefixifying hardcoded path" |
29 |
- |
30 |
+ |
31 |
for f in libio/iopopen.c \ |
32 |
shadow/lckpwdf.c resolv/{netdb,resolv}.h elf/rtld.c \ |
33 |
nis/nss_compat/compat-{grp,initgroups,{,s}pwd}.c \ |