1 |
commit: adbd84a0f19254fc60e799d4d744c3aca5b74618 |
2 |
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 29 12:31:38 2017 +0000 |
4 |
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 9 04:47:37 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adbd84a0 |
7 |
|
8 |
profiles/p/l-s/profile.bashrc: update sed for ppc64. |
9 |
|
10 |
Credit: François Bissey |
11 |
Reference: https://archives.gentoo.org/gentoo-alt/message/d890ad55f3ac96f4db5d7f8291351834 |
12 |
|
13 |
profiles/prefix/linux-standalone/profile.bashrc | 2 +- |
14 |
1 file changed, 1 insertion(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/profiles/prefix/linux-standalone/profile.bashrc b/profiles/prefix/linux-standalone/profile.bashrc |
17 |
index b46c49efdc..4b39a3e25d 100644 |
18 |
--- a/profiles/prefix/linux-standalone/profile.bashrc |
19 |
+++ b/profiles/prefix/linux-standalone/profile.bashrc |
20 |
@@ -11,7 +11,7 @@ if [[ ${CATEGORY}/${PN} == sys-devel/gcc && ${EBUILD_PHASE} == configure ]]; the |
21 |
einfo "Prefixifying dynamic linkers..." |
22 |
for h in gcc/config/*/*linux*.h; do |
23 |
ebegin " Updating $h" |
24 |
- sed -i -r "s,(_DYNAMIC_LINKER.*\")(/lib),\1${EPREFIX}\2," $h |
25 |
+ sed -i -r "/_DYNAMIC_LINKER/s,([\":])(/lib),\1${EPREFIX}\2,g" $h |
26 |
eend $? |
27 |
done |