commit:     adbd84a0f19254fc60e799d4d744c3aca5b74618
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 29 12:31:38 2017 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu Feb  9 04:47:37 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adbd84a0

profiles/p/l-s/profile.bashrc: update sed for ppc64.

Credit: François Bissey
Reference: 
https://archives.gentoo.org/gentoo-alt/message/d890ad55f3ac96f4db5d7f8291351834

 profiles/prefix/linux-standalone/profile.bashrc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/profiles/prefix/linux-standalone/profile.bashrc 
b/profiles/prefix/linux-standalone/profile.bashrc
index b46c49efdc..4b39a3e25d 100644
--- a/profiles/prefix/linux-standalone/profile.bashrc
+++ b/profiles/prefix/linux-standalone/profile.bashrc
@@ -11,7 +11,7 @@ if [[ ${CATEGORY}/${PN} == sys-devel/gcc && ${EBUILD_PHASE} 
== configure ]]; the
     einfo "Prefixifying dynamic linkers..."
     for h in gcc/config/*/*linux*.h; do
        ebegin "  Updating $h"
-       sed -i -r "s,(_DYNAMIC_LINKER.*\")(/lib),\1${EPREFIX}\2," $h
+       sed -i -r "/_DYNAMIC_LINKER/s,([\":])(/lib),\1${EPREFIX}\2,g" $h
        eend $?
     done
 

Reply via email to