public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/
@ 2016-07-21 13:23 Benda XU
  0 siblings, 0 replies; 22+ messages in thread
From: Benda XU @ 2016-07-21 13:23 UTC (permalink / raw
  To: gentoo-commits

commit:     6ef6412864b3a3401710c0a4fe99c19dc48f41be
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 21 12:34:51 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu Jul 21 13:23:01 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ef64128

profile/p/l-s/profile.bashrc: prefixify all the dynamic linkers.

  To be compatible with the macros in gcc-4.1.2.

 profiles/prefix/linux-standalone/profile.bashrc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/profiles/prefix/linux-standalone/profile.bashrc b/profiles/prefix/linux-standalone/profile.bashrc
index ed35237..73033de 100644
--- a/profiles/prefix/linux-standalone/profile.bashrc
+++ b/profiles/prefix/linux-standalone/profile.bashrc
@@ -8,10 +8,10 @@
 
 if [[ ${CATEGORY}/${PN} == sys-devel/gcc && ${EBUILD_PHASE} == configure ]]; then
     cd "${S}"
-    einfo "Prefixifying glibc dynamic linker..."
+    einfo "Prefixifying dynamic linkers..."
     for h in gcc/config/*/linux*.h; do
 	ebegin "  Updating $h"
-	sed -i -r "s,(GLIBC_DYNAMIC_LINKER.*\")(/lib),\1${EPREFIX}\2," $h
+	sed -i -r "s,(_DYNAMIC_LINKER.*\")(/lib),\1${EPREFIX}\2," $h
 	eend $?
     done
 


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/
@ 2017-11-29  3:57 Benda XU
  0 siblings, 0 replies; 22+ messages in thread
From: Benda XU @ 2017-11-29  3:57 UTC (permalink / raw
  To: gentoo-commits

commit:     ab2e3a4026e093e0cf17b46b5bcc308a861f93c8
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 29 02:43:31 2017 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Wed Nov 29 03:56:55 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab2e3a40

p/p/l-s/profile.bashrc: prefixify files-XXX.c in sys-libs/glibc.

 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 4b39a3e25d5..60a2af632d1 100644
--- a/profiles/prefix/linux-standalone/profile.bashrc
+++ b/profiles/prefix/linux-standalone/profile.bashrc
@@ -36,7 +36,7 @@ elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == compile ]]; th
     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 \
-		 nss/{bug-erange,nss_files/files-init{,groups}}.c \
+		 nss/{bug-erange,nss_files/files-{XXX,init{,groups}}}.c \
 		 sysdeps/{{generic,unix/sysv/linux}/paths.h,posix/system.c}
     do
 	ebegin "  Updating $f"


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/
@ 2017-02-09  4:49 Benda XU
  0 siblings, 0 replies; 22+ messages in thread
From: Benda XU @ 2017-02-09  4:49 UTC (permalink / raw
  To: gentoo-commits

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
 


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/
@ 2016-12-11 11:29 Benda XU
  0 siblings, 0 replies; 22+ messages in thread
From: Benda XU @ 2016-12-11 11:29 UTC (permalink / raw
  To: gentoo-commits

commit:     d95234edd2efbd785e41dcbb29f0a323f085b1d9
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 11 11:29:11 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sun Dec 11 11:29:37 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d95234ed

profiles/prefix/linux-standalone/profile.bashrc: fix grammar.

 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 73033de..589f49b 100644
--- a/profiles/prefix/linux-standalone/profile.bashrc
+++ b/profiles/prefix/linux-standalone/profile.bashrc
@@ -1,5 +1,5 @@
 # -*- mode: shell-script; -*-
-# RAP specific patches that is pending upstream.
+# RAP specific patches pending upstream:
 # binutils: http://article.gmane.org/gmane.comp.gnu.binutils/67593
 # gcc: https://gcc.gnu.org/ml/gcc-patches/2014-12/msg00331.html
 


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/
@ 2016-06-15  8:06 Benda XU
  0 siblings, 0 replies; 22+ messages in thread
From: Benda XU @ 2016-06-15  8:06 UTC (permalink / raw
  To: gentoo-commits

commit:     371a03cadf5cb9ef858265dd9295c7645e1c3850
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 15 08:05:11 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Wed Jun 15 08:06:26 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=371a03ca

p/p/l-s/profile.bashrc: don't build zlib test binaries during bootstrap.

 profiles/prefix/linux-standalone/profile.bashrc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/profiles/prefix/linux-standalone/profile.bashrc b/profiles/prefix/linux-standalone/profile.bashrc
index 77092b9..ed35237 100644
--- a/profiles/prefix/linux-standalone/profile.bashrc
+++ b/profiles/prefix/linux-standalone/profile.bashrc
@@ -73,6 +73,11 @@ elif [[ ${CATEGORY}/${PN} == sys-devel/make && ${EBUILD_PHASE} == prepare ]]; th
     ebegin "Prefixifying default shell"
     sed -i -r "/default_shell/s,\"(/bin/sh),\"${EPREFIX}\1," "${S}"/job.c
     eend $?
+elif [[ ${CATEGORY}/${PN} == sys-libs/zlib && ${EBUILD_PHASE} == prepare ]]; then
+    [[ -n "${BOOTSTRAP_RAP}" ]] || return 0
+    ebegin "Remove executable builds for bootstrap"
+    sed -i 's/ALL=.*/ALL="\\$(LIBS)"/' "${S}"/configure
+    eend $?
 elif [[ ${CATEGORY}/${PN} == dev-lang/php && ${EBUILD_PHASE} == prepare ]]; then
     # introduced in bug 419525, subtle glibc location difference.
     ebegin "Prefixifying ext/iconv/config.m4 paths"


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/
@ 2016-06-14  4:46 Benda XU
  0 siblings, 0 replies; 22+ messages in thread
From: Benda XU @ 2016-06-14  4:46 UTC (permalink / raw
  To: gentoo-commits

commit:     e5cf36e3a4a2a75cb773febde1653a1a01887513
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 14 01:17:15 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Tue Jun 14 04:46:13 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5cf36e3

p/p/linux-standalone/profile.bashrc: add gcc PATCH link.

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

diff --git a/profiles/prefix/linux-standalone/profile.bashrc b/profiles/prefix/linux-standalone/profile.bashrc
index 2b0e3b1..e2902e1 100644
--- a/profiles/prefix/linux-standalone/profile.bashrc
+++ b/profiles/prefix/linux-standalone/profile.bashrc
@@ -1,6 +1,7 @@
 # -*- mode: shell-script; -*-
 # RAP specific patches that is pending upstream.
 # binutils: http://article.gmane.org/gmane.comp.gnu.binutils/67593
+# gcc: https://gcc.gnu.org/ml/gcc-patches/2014-12/msg00331.html
 
 # Disable RAP trick during bootstrap stage2
 [[ -z ${BOOTSTRAP_RAP_STAGE2} ]] || return 0


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/
@ 2016-06-14  4:46 Benda XU
  0 siblings, 0 replies; 22+ messages in thread
From: Benda XU @ 2016-06-14  4:46 UTC (permalink / raw
  To: gentoo-commits

commit:     f66f3a933539d7a73ede984c7b554687dcfc8a62
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 14 04:45:06 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Tue Jun 14 04:46:13 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f66f3a93

p/p/l-s/profile.bashrc: on RAP iconv is provided by glibc.
Bug: 419525

 profiles/prefix/linux-standalone/profile.bashrc | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/profiles/prefix/linux-standalone/profile.bashrc b/profiles/prefix/linux-standalone/profile.bashrc
index e2902e1..77092b9 100644
--- a/profiles/prefix/linux-standalone/profile.bashrc
+++ b/profiles/prefix/linux-standalone/profile.bashrc
@@ -73,4 +73,9 @@ elif [[ ${CATEGORY}/${PN} == sys-devel/make && ${EBUILD_PHASE} == prepare ]]; th
     ebegin "Prefixifying default shell"
     sed -i -r "/default_shell/s,\"(/bin/sh),\"${EPREFIX}\1," "${S}"/job.c
     eend $?
+elif [[ ${CATEGORY}/${PN} == dev-lang/php && ${EBUILD_PHASE} == prepare ]]; then
+    # introduced in bug 419525, subtle glibc location difference.
+    ebegin "Prefixifying ext/iconv/config.m4 paths"
+    sed -i -r "/for i in/s,(/usr(/local|)),${EPREFIX}\1,g" "${S}"/ext/iconv/config.m4
+    eend $?
 fi


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/
@ 2016-06-07  2:36 Benda XU
  0 siblings, 0 replies; 22+ messages in thread
From: Benda XU @ 2016-06-07  2:36 UTC (permalink / raw
  To: gentoo-commits

commit:     d06378978a7f3769901b7fa33bb92c81f76956a1
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  7 02:35:34 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Tue Jun  7 02:36:17 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0637897

profiles/prefix/linux-standalone: remove perl android logics.

 profiles/prefix/linux-standalone/profile.bashrc | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/profiles/prefix/linux-standalone/profile.bashrc b/profiles/prefix/linux-standalone/profile.bashrc
index 8399ce6..2b0e3b1 100644
--- a/profiles/prefix/linux-standalone/profile.bashrc
+++ b/profiles/prefix/linux-standalone/profile.bashrc
@@ -60,8 +60,13 @@ elif [[ ${CATEGORY}/${PN} == dev-lang/python && ${EBUILD_PHASE} == configure ]];
     eend $?
 elif [[ ${CATEGORY}/${PN} == dev-lang/perl && ${EBUILD_PHASE} == configure ]]; then
     ebegin "Prefixifying pwd path"
-    sed -i -r \
-	-e "s,'((|/usr)/bin/pwd),'${EPREFIX}\1," "${S}"/dist/PathTools/Cwd.pm
+    sed -r "s,'((|/usr)/bin/pwd),'${EPREFIX}\1," -i "${S}"/dist/PathTools/Cwd.pm
+    eend $?
+
+    # Configure checks for /system/lib/libandroid.so to override linux into linux-android,
+    # which is not desired for Gentoo
+    ebegin "Removing Android detection"
+    sed "/libandroid.so/d" -i "${S}"/Configure
     eend $?
 elif [[ ${CATEGORY}/${PN} == sys-devel/make && ${EBUILD_PHASE} == prepare ]]; then
     ebegin "Prefixifying default shell"


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/
@ 2016-06-04  2:25 Benda XU
  0 siblings, 0 replies; 22+ messages in thread
From: Benda XU @ 2016-06-04  2:25 UTC (permalink / raw
  To: gentoo-commits

commit:     515c7d78d2c1bb3c09903ca23d7de8d957ba4cb9
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  2 23:55:43 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sat Jun  4 02:25:22 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=515c7d78

p/p/l-s/profile.bashrc: prefixify perl pwd call.

  prefixify python distutils paths.

  change glibc prefixify phase to "compile".
  glibc-2.19 is EAPI=0, which does not have a "configure" phase.

  prefixify path to /etc/ld.so.conf.

 profiles/prefix/linux-standalone/profile.bashrc | 26 ++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)

diff --git a/profiles/prefix/linux-standalone/profile.bashrc b/profiles/prefix/linux-standalone/profile.bashrc
index 90bfc60..8399ce6 100644
--- a/profiles/prefix/linux-standalone/profile.bashrc
+++ b/profiles/prefix/linux-standalone/profile.bashrc
@@ -21,12 +21,14 @@ if [[ ${CATEGORY}/${PN} == sys-devel/gcc && ${EBUILD_PHASE} == configure ]]; the
     sed -i 's/--sysroot=%R//' gcc/gcc.c
     eend $?
 elif [[ ${CATEGORY}/${PN} == sys-devel/binutils && ${EBUILD_PHASE} == prepare ]]; then
-    cd "${S}"
     ebegin "Prefixifying native library path"
     sed -i -r "/NATIVE_LIB_DIRS/s,((/usr(/local|)|)/lib),${EPREFIX}\1,g" \
-	ld/configure.tgt
+	"${S}"/ld/configure.tgt
+    eend $?
+    ebegin "Prefixifying path to /etc/ld.so.conf"
+    sed -i -r "s,\"/etc,\"${EPREFIX}/etc," "${S}"/ld/emultempl/elf32.em
     eend $?
-elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == configure ]]; then
+elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == compile ]]; then
     cd "${S}"
     einfo "Prefixifying hardcoded path"
     
@@ -37,8 +39,7 @@ elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == configure ]];
 		 sysdeps/{{generic,unix/sysv/linux}/paths.h,posix/system.c}
     do
 	ebegin "  Updating $f"
-	sed -i -r \
-	    -e "s,([:\"])/(etc|usr|bin|var),\1${EPREFIX}/\2,g" $f
+	sed -i -r "s,([:\"])/(etc|usr|bin|var),\1${EPREFIX}/\2,g" $f
 	eend $?
     done
     ebegin "  Updating nss/db-Makefile"
@@ -48,15 +49,22 @@ elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == configure ]];
     eend $?
 elif [[ ${CATEGORY}/${PN} == dev-lang/python && ${EBUILD_PHASE} == configure ]]; then
     # Guide h2py to look into glibc of Prefix
-    ebegin "Guide h2py to look into Prefix"
+    ebegin "Guiding h2py to look into Prefix"
     export include="${EPREFIX}"/usr/include
     sed -i -r \
 	-e "s,/usr/include,\"${EPREFIX}\"/usr/include,g" "${S}"/Lib/plat-linux*/regen
     eend $?
+    ebegin "Prefixifying distutils paths"
+    sed -re "s,([^[:alnum:]])(/usr[/[:alnum:]]*/(lib[[:alnum:]]*|include)|/lib[[:alnum:]]*),\1${EPREFIX}\2,g" \
+	-i "${S}"/setup.py
+    eend $?
+elif [[ ${CATEGORY}/${PN} == dev-lang/perl && ${EBUILD_PHASE} == configure ]]; then
+    ebegin "Prefixifying pwd path"
+    sed -i -r \
+	-e "s,'((|/usr)/bin/pwd),'${EPREFIX}\1," "${S}"/dist/PathTools/Cwd.pm
+    eend $?
 elif [[ ${CATEGORY}/${PN} == sys-devel/make && ${EBUILD_PHASE} == prepare ]]; then
-    cd "${S}"
     ebegin "Prefixifying default shell"
-    sed -i -r \
-	-e "/default_shell/s,\"(/bin/sh),\"${EPREFIX}\1," job.c
+    sed -i -r "/default_shell/s,\"(/bin/sh),\"${EPREFIX}\1," "${S}"/job.c
     eend $?
 fi


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/
@ 2016-06-02 13:26 Benda XU
  0 siblings, 0 replies; 22+ messages in thread
From: Benda XU @ 2016-06-02 13:26 UTC (permalink / raw
  To: gentoo-commits

commit:     45de8960d86a56bc8417017e925e529088d04ce4
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  2 13:21:17 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu Jun  2 13:26:28 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45de8960

p/p/l-s/profile.bashrc: prefixify shell of make.

 profiles/prefix/linux-standalone/profile.bashrc | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/profiles/prefix/linux-standalone/profile.bashrc b/profiles/prefix/linux-standalone/profile.bashrc
index fad9d0b..90bfc60 100644
--- a/profiles/prefix/linux-standalone/profile.bashrc
+++ b/profiles/prefix/linux-standalone/profile.bashrc
@@ -10,8 +10,7 @@ if [[ ${CATEGORY}/${PN} == sys-devel/gcc && ${EBUILD_PHASE} == configure ]]; the
     einfo "Prefixifying glibc dynamic linker..."
     for h in gcc/config/*/linux*.h; do
 	ebegin "  Updating $h"
-	sed -i -r "s,(GLIBC_DYNAMIC_LINKER.*\")(/lib),\1${EPREFIX}\2," \
-	    $h || eerror "Please file a bug about this"
+	sed -i -r "s,(GLIBC_DYNAMIC_LINKER.*\")(/lib),\1${EPREFIX}\2," $h
 	eend $?
     done
 
@@ -19,14 +18,13 @@ if [[ ${CATEGORY}/${PN} == sys-devel/gcc && ${EBUILD_PHASE} == configure ]]; the
     EXTRA_ECONF="${EXTRA_ECONF} --with-sysroot=${EPREFIX}"
 
     ebegin "remove --sysroot call on ld for native toolchain"
-    sed -i 's/--sysroot=%R//' \
-	gcc/gcc.c || eerror "Please file a bug about this"
+    sed -i 's/--sysroot=%R//' gcc/gcc.c
     eend $?
 elif [[ ${CATEGORY}/${PN} == sys-devel/binutils && ${EBUILD_PHASE} == prepare ]]; then
     cd "${S}"
     ebegin "Prefixifying native library path"
     sed -i -r "/NATIVE_LIB_DIRS/s,((/usr(/local|)|)/lib),${EPREFIX}\1,g" \
-	ld/configure.tgt || eerror "Please file a bug about this"
+	ld/configure.tgt
     eend $?
 elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == configure ]]; then
     cd "${S}"
@@ -40,14 +38,13 @@ elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == configure ]];
     do
 	ebegin "  Updating $f"
 	sed -i -r \
-	    -e "s,([:\"])/(etc|usr|bin|var),\1${EPREFIX}/\2,g" \
-	    $f || eerror "Please file a bug about this"
+	    -e "s,([:\"])/(etc|usr|bin|var),\1${EPREFIX}/\2,g" $f
 	eend $?
     done
     ebegin "  Updating nss/db-Makefile"
     sed -i -r \
 	-e "s,/(etc|var),${EPREFIX}/\1,g" \
-	nss/db-Makefile || eerror "Please file a bug about this"
+	nss/db-Makefile
     eend $?
 elif [[ ${CATEGORY}/${PN} == dev-lang/python && ${EBUILD_PHASE} == configure ]]; then
     # Guide h2py to look into glibc of Prefix
@@ -56,4 +53,10 @@ elif [[ ${CATEGORY}/${PN} == dev-lang/python && ${EBUILD_PHASE} == configure ]];
     sed -i -r \
 	-e "s,/usr/include,\"${EPREFIX}\"/usr/include,g" "${S}"/Lib/plat-linux*/regen
     eend $?
+elif [[ ${CATEGORY}/${PN} == sys-devel/make && ${EBUILD_PHASE} == prepare ]]; then
+    cd "${S}"
+    ebegin "Prefixifying default shell"
+    sed -i -r \
+	-e "/default_shell/s,\"(/bin/sh),\"${EPREFIX}\1," job.c
+    eend $?
 fi


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/
@ 2016-05-28  4:17 Benda XU
  0 siblings, 0 replies; 22+ messages in thread
From: Benda XU @ 2016-05-28  4:17 UTC (permalink / raw
  To: gentoo-commits

commit:     b35e449c9dfa213087991a5490293b55aa74cb27
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sat May 28 04:16:02 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sat May 28 04:17:05 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b35e449c

profiles/prefix/linux-standalone/profile.bashrc: typo.

 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 37635ea..fad9d0b 100644
--- a/profiles/prefix/linux-standalone/profile.bashrc
+++ b/profiles/prefix/linux-standalone/profile.bashrc
@@ -2,7 +2,7 @@
 # RAP specific patches that is pending upstream.
 # binutils: http://article.gmane.org/gmane.comp.gnu.binutils/67593
 
-# Disable RAP trick using bootstrap stage2
+# Disable RAP trick during bootstrap stage2
 [[ -z ${BOOTSTRAP_RAP_STAGE2} ]] || return 0
 
 if [[ ${CATEGORY}/${PN} == sys-devel/gcc && ${EBUILD_PHASE} == configure ]]; then


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/
@ 2016-05-27  4:39 Benda XU
  0 siblings, 0 replies; 22+ messages in thread
From: Benda XU @ 2016-05-27  4:39 UTC (permalink / raw
  To: gentoo-commits

commit:     1fd34e461dec9610a2bbfc0c638f5fad83703990
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Fri May 27 04:25:37 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Fri May 27 04:39:29 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fd34e46

profiles/prefix/linux-standalone/package.mask: remove
  baselayout-prefix is used during bootstrap.

 profiles/prefix/linux-standalone/package.mask | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/profiles/prefix/linux-standalone/package.mask b/profiles/prefix/linux-standalone/package.mask
deleted file mode 100644
index ff2a8f7..0000000
--- a/profiles/prefix/linux-standalone/package.mask
+++ /dev/null
@@ -1,3 +0,0 @@
-# Benda Xu <heroxbd@gentoo.org> (26 May 2016)
-# baselayout-prefix breaks openrc and directory layout.
-sys-apps/baselayout-prefix


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/
@ 2016-05-26 13:46 Benda XU
  0 siblings, 0 replies; 22+ messages in thread
From: Benda XU @ 2016-05-26 13:46 UTC (permalink / raw
  To: gentoo-commits

commit:     8f4bb320daf1ac0dfa3d00fcfc8d871fa402d2bc
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Thu May 26 13:44:08 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu May 26 13:46:18 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f4bb320

p/prefix/linux-standalone: mask baselayout-prefix

  remove virtual/service-manager from system set.

 profiles/prefix/linux-standalone/package.mask | 3 +++
 profiles/prefix/linux-standalone/packages     | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/profiles/prefix/linux-standalone/package.mask b/profiles/prefix/linux-standalone/package.mask
new file mode 100644
index 0000000..ff2a8f7
--- /dev/null
+++ b/profiles/prefix/linux-standalone/package.mask
@@ -0,0 +1,3 @@
+# Benda Xu <heroxbd@gentoo.org> (26 May 2016)
+# baselayout-prefix breaks openrc and directory layout.
+sys-apps/baselayout-prefix

diff --git a/profiles/prefix/linux-standalone/packages b/profiles/prefix/linux-standalone/packages
index 6e1a722..8d5b9ae 100644
--- a/profiles/prefix/linux-standalone/packages
+++ b/profiles/prefix/linux-standalone/packages
@@ -7,3 +7,6 @@
 # Man pages are not essential.
 -*sys-apps/man-pages
 -*virtual/man
+
+# A service manager is not essential.
+-*virtual/service-manager


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/
@ 2016-05-26 10:08 Benda XU
  0 siblings, 0 replies; 22+ messages in thread
From: Benda XU @ 2016-05-26 10:08 UTC (permalink / raw
  To: gentoo-commits

commit:     fa9a0ed449140fb75b3567f735c1853fd312f7b1
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Thu May 26 10:06:58 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu May 26 10:08:03 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa9a0ed4

p/p/l-s/profile.bashrc: refactorize with elif.

 profiles/prefix/linux-standalone/profile.bashrc | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/profiles/prefix/linux-standalone/profile.bashrc b/profiles/prefix/linux-standalone/profile.bashrc
index 121ac7b..37635ea 100644
--- a/profiles/prefix/linux-standalone/profile.bashrc
+++ b/profiles/prefix/linux-standalone/profile.bashrc
@@ -22,17 +22,13 @@ if [[ ${CATEGORY}/${PN} == sys-devel/gcc && ${EBUILD_PHASE} == configure ]]; the
     sed -i 's/--sysroot=%R//' \
 	gcc/gcc.c || eerror "Please file a bug about this"
     eend $?
-fi
-
-if [[ ${CATEGORY}/${PN} == sys-devel/binutils && ${EBUILD_PHASE} == prepare ]]; then
+elif [[ ${CATEGORY}/${PN} == sys-devel/binutils && ${EBUILD_PHASE} == prepare ]]; then
     cd "${S}"
     ebegin "Prefixifying native library path"
     sed -i -r "/NATIVE_LIB_DIRS/s,((/usr(/local|)|)/lib),${EPREFIX}\1,g" \
 	ld/configure.tgt || eerror "Please file a bug about this"
     eend $?
-fi
-
-if [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == configure ]]; then
+elif [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == configure ]]; then
     cd "${S}"
     einfo "Prefixifying hardcoded path"
     
@@ -53,9 +49,7 @@ if [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == configure ]]; th
 	-e "s,/(etc|var),${EPREFIX}/\1,g" \
 	nss/db-Makefile || eerror "Please file a bug about this"
     eend $?
-fi
-
-if [[ ${CATEGORY}/${PN} == dev-lang/python && ${EBUILD_PHASE} == configure ]]; then
+elif [[ ${CATEGORY}/${PN} == dev-lang/python && ${EBUILD_PHASE} == configure ]]; then
     # Guide h2py to look into glibc of Prefix
     ebegin "Guide h2py to look into Prefix"
     export include="${EPREFIX}"/usr/include


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/
@ 2016-05-26  4:02 Benda XU
  0 siblings, 0 replies; 22+ messages in thread
From: Benda XU @ 2016-05-26  4:02 UTC (permalink / raw
  To: gentoo-commits

commit:     ed0dac93c4ed0c04c27ddaec9be39c4644534780
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Thu May 26 04:01:48 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu May 26 04:02:50 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed0dac93

p/p/l-s/packages: remove non-essential packages of RAP from @system.

 profiles/prefix/linux-standalone/packages | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/profiles/prefix/linux-standalone/packages b/profiles/prefix/linux-standalone/packages
new file mode 100644
index 0000000..6e1a722
--- /dev/null
+++ b/profiles/prefix/linux-standalone/packages
@@ -0,0 +1,9 @@
+# RAP does not need busybox for emergency recovery, the host have all those tools.
+-*sys-apps/busybox
+
+# Most of the iproute2 suit require root privilege to function.
+-*sys-apps/iproute2
+
+# Man pages are not essential.
+-*sys-apps/man-pages
+-*virtual/man


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/
@ 2016-05-26  4:02 Benda XU
  0 siblings, 0 replies; 22+ messages in thread
From: Benda XU @ 2016-05-26  4:02 UTC (permalink / raw
  To: gentoo-commits

commit:     9c5dbdcedd1095c857274875ae171be66ce0fe50
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Thu May 26 02:49:32 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu May 26 04:02:49 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c5dbdce

p/p/l-s/profile.bashrc: prefixify glibc hardcoded /etc/ld.so.preload

  prefixify python's h2py calls.

 profiles/prefix/linux-standalone/profile.bashrc | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/profiles/prefix/linux-standalone/profile.bashrc b/profiles/prefix/linux-standalone/profile.bashrc
index c4a885c..121ac7b 100644
--- a/profiles/prefix/linux-standalone/profile.bashrc
+++ b/profiles/prefix/linux-standalone/profile.bashrc
@@ -1,3 +1,4 @@
+# -*- mode: shell-script; -*-
 # RAP specific patches that is pending upstream.
 # binutils: http://article.gmane.org/gmane.comp.gnu.binutils/67593
 
@@ -36,7 +37,7 @@ if [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == configure ]]; th
     einfo "Prefixifying hardcoded path"
     
     for f in libio/iopopen.c \
-		 shadow/lckpwdf.c resolv/{netdb,resolv}.h \
+		 shadow/lckpwdf.c resolv/{netdb,resolv}.h elf/rtld.c \
 		 nis/nss_compat/compat-{grp,initgroups,{,s}pwd}.c \
 		 nss/{bug-erange,nss_files/files-init{,groups}}.c \
 		 sysdeps/{{generic,unix/sysv/linux}/paths.h,posix/system.c}
@@ -53,3 +54,12 @@ if [[ ${CATEGORY}/${PN} == sys-libs/glibc && ${EBUILD_PHASE} == configure ]]; th
 	nss/db-Makefile || eerror "Please file a bug about this"
     eend $?
 fi
+
+if [[ ${CATEGORY}/${PN} == dev-lang/python && ${EBUILD_PHASE} == configure ]]; then
+    # Guide h2py to look into glibc of Prefix
+    ebegin "Guide h2py to look into Prefix"
+    export include="${EPREFIX}"/usr/include
+    sed -i -r \
+	-e "s,/usr/include,\"${EPREFIX}\"/usr/include,g" "${S}"/Lib/plat-linux*/regen
+    eend $?
+fi


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/
@ 2016-05-26  0:01 Benda XU
  0 siblings, 0 replies; 22+ messages in thread
From: Benda XU @ 2016-05-26  0:01 UTC (permalink / raw
  To: gentoo-commits

commit:     44d9e6da463dacec3ee3a7ccf556dac6e6b7347a
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed May 25 23:59:35 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu May 26 00:01:08 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44d9e6da

p/p/l-s/make.defaults: EXTRA_PATH is not needed by mainline portage.

 profiles/prefix/linux-standalone/make.defaults | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/profiles/prefix/linux-standalone/make.defaults b/profiles/prefix/linux-standalone/make.defaults
index 0341850..dd9cc12 100644
--- a/profiles/prefix/linux-standalone/make.defaults
+++ b/profiles/prefix/linux-standalone/make.defaults
@@ -12,6 +12,3 @@ USE="iconv"
 
 # build gcc with parallelization support
 USE="${USE} openmp"
-
-# Avoid host binaries called by ebuild. (#576658)
-EXTRA_PATH=""


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/
@ 2016-05-25  2:28 Benda XU
  0 siblings, 0 replies; 22+ messages in thread
From: Benda XU @ 2016-05-25  2:28 UTC (permalink / raw
  To: gentoo-commits

commit:     b1dd9f36dc9e9c39cdd846c6635dd58d4f1f5736
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Tue May 24 15:10:35 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Wed May 25 02:28:37 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1dd9f36

p/p/linux-standalone/profile.bashrc: add BOOTSTRAP_RAP_STAGE2.

 profiles/prefix/linux-standalone/profile.bashrc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/profiles/prefix/linux-standalone/profile.bashrc b/profiles/prefix/linux-standalone/profile.bashrc
index 166ab70..369b595 100644
--- a/profiles/prefix/linux-standalone/profile.bashrc
+++ b/profiles/prefix/linux-standalone/profile.bashrc
@@ -1,6 +1,9 @@
 # RAP specific patches that is pending upstream.
 # binutils: http://article.gmane.org/gmane.comp.gnu.binutils/67593
 
+# Disable RAP trick using bootstrap stage2
+[[ -z ${BOOTSTRAP_RAP_STAGE2} ]] || return 0
+
 if [[ ${CATEGORY}/${PN} == sys-devel/gcc && ${EBUILD_PHASE} == configure ]]; then
     cd "${S}"
     einfo "Prefixifying glibc dynamic linker..."


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/
@ 2016-05-25  2:28 Benda XU
  0 siblings, 0 replies; 22+ messages in thread
From: Benda XU @ 2016-05-25  2:28 UTC (permalink / raw
  To: gentoo-commits

commit:     2e9198c98b2c60e4a0f49ad5768de08d459288aa
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed May 25 02:15:04 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Wed May 25 02:28:40 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e9198c9

p/p/linux-standalone/profile.bashrc: move glibc RAP tricks to profiles

Upstream-Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=20138

 profiles/prefix/linux-standalone/profile.bashrc | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/profiles/prefix/linux-standalone/profile.bashrc b/profiles/prefix/linux-standalone/profile.bashrc
index 369b595..c4a885c 100644
--- a/profiles/prefix/linux-standalone/profile.bashrc
+++ b/profiles/prefix/linux-standalone/profile.bashrc
@@ -30,3 +30,26 @@ if [[ ${CATEGORY}/${PN} == sys-devel/binutils && ${EBUILD_PHASE} == prepare ]];
 	ld/configure.tgt || eerror "Please file a bug about this"
     eend $?
 fi
+
+if [[ ${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 \
+		 nis/nss_compat/compat-{grp,initgroups,{,s}pwd}.c \
+		 nss/{bug-erange,nss_files/files-init{,groups}}.c \
+		 sysdeps/{{generic,unix/sysv/linux}/paths.h,posix/system.c}
+    do
+	ebegin "  Updating $f"
+	sed -i -r \
+	    -e "s,([:\"])/(etc|usr|bin|var),\1${EPREFIX}/\2,g" \
+	    $f || eerror "Please file a bug about this"
+	eend $?
+    done
+    ebegin "  Updating nss/db-Makefile"
+    sed -i -r \
+	-e "s,/(etc|var),${EPREFIX}/\1,g" \
+	nss/db-Makefile || eerror "Please file a bug about this"
+    eend $?
+fi


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/
@ 2016-05-23 10:53 Benda XU
  0 siblings, 0 replies; 22+ messages in thread
From: Benda XU @ 2016-05-23 10:53 UTC (permalink / raw
  To: gentoo-commits

commit:     bbe04bc5a9a9d2a4c7fd2b24ae402ef317571b5e
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Mon May 23 10:51:29 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon May 23 10:52:58 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbe04bc5

p/p/linux-standalone/profile.bashrc: sed gcc at configure
  to avoid patch conflict.

 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 1e4cfcb..166ab70 100644
--- a/profiles/prefix/linux-standalone/profile.bashrc
+++ b/profiles/prefix/linux-standalone/profile.bashrc
@@ -1,7 +1,7 @@
 # RAP specific patches that is pending upstream.
 # binutils: http://article.gmane.org/gmane.comp.gnu.binutils/67593
 
-if [[ ${CATEGORY}/${PN} == sys-devel/gcc && ${EBUILD_PHASE} == prepare ]]; then
+if [[ ${CATEGORY}/${PN} == sys-devel/gcc && ${EBUILD_PHASE} == configure ]]; then
     cd "${S}"
     einfo "Prefixifying glibc dynamic linker..."
     for h in gcc/config/*/linux*.h; do


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/
@ 2016-05-22  7:18 Benda XU
  0 siblings, 0 replies; 22+ messages in thread
From: Benda XU @ 2016-05-22  7:18 UTC (permalink / raw
  To: gentoo-commits

commit:     485d1720a3c24e2c25da188d6266c4b618e3104e
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sun May 22 07:17:02 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sun May 22 07:18:16 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=485d1720

p/p/linux-standalone/profile.bashrc: track RAP toolchain tricks.

 profiles/prefix/linux-standalone/profile.bashrc | 29 +++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/profiles/prefix/linux-standalone/profile.bashrc b/profiles/prefix/linux-standalone/profile.bashrc
new file mode 100644
index 0000000..1e4cfcb
--- /dev/null
+++ b/profiles/prefix/linux-standalone/profile.bashrc
@@ -0,0 +1,29 @@
+# RAP specific patches that is pending upstream.
+# binutils: http://article.gmane.org/gmane.comp.gnu.binutils/67593
+
+if [[ ${CATEGORY}/${PN} == sys-devel/gcc && ${EBUILD_PHASE} == prepare ]]; then
+    cd "${S}"
+    einfo "Prefixifying glibc dynamic linker..."
+    for h in gcc/config/*/linux*.h; do
+	ebegin "  Updating $h"
+	sed -i -r "s,(GLIBC_DYNAMIC_LINKER.*\")(/lib),\1${EPREFIX}\2," \
+	    $h || eerror "Please file a bug about this"
+	eend $?
+    done
+
+    # use sysroot of toolchain to get currect include and library at compile time
+    EXTRA_ECONF="${EXTRA_ECONF} --with-sysroot=${EPREFIX}"
+
+    ebegin "remove --sysroot call on ld for native toolchain"
+    sed -i 's/--sysroot=%R//' \
+	gcc/gcc.c || eerror "Please file a bug about this"
+    eend $?
+fi
+
+if [[ ${CATEGORY}/${PN} == sys-devel/binutils && ${EBUILD_PHASE} == prepare ]]; then
+    cd "${S}"
+    ebegin "Prefixifying native library path"
+    sed -i -r "/NATIVE_LIB_DIRS/s,((/usr(/local|)|)/lib),${EPREFIX}\1,g" \
+	ld/configure.tgt || eerror "Please file a bug about this"
+    eend $?
+fi


^ permalink raw reply related	[flat|nested] 22+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/
@ 2016-03-08  9:25 Benda XU
  0 siblings, 0 replies; 22+ messages in thread
From: Benda XU @ 2016-03-08  9:25 UTC (permalink / raw
  To: gentoo-commits

commit:     9216351ebd8bec0ba56cc3a83d82da70e562feb3
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  8 09:14:47 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Tue Mar  8 09:24:51 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9216351e

profiles/p/l-s/make.defaults: Avoid host binaries called by ebuild.

X-Gentoo-Bugs: 576658

 profiles/prefix/linux-standalone/make.defaults | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/profiles/prefix/linux-standalone/make.defaults b/profiles/prefix/linux-standalone/make.defaults
index 76146a6..0341850 100644
--- a/profiles/prefix/linux-standalone/make.defaults
+++ b/profiles/prefix/linux-standalone/make.defaults
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,3 +13,5 @@ USE="iconv"
 # build gcc with parallelization support
 USE="${USE} openmp"
 
+# Avoid host binaries called by ebuild. (#576658)
+EXTRA_PATH=""


^ permalink raw reply related	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2017-11-29  3:57 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-21 13:23 [gentoo-commits] repo/gentoo:master commit in: profiles/prefix/linux-standalone/ Benda XU
  -- strict thread matches above, loose matches on Subject: below --
2017-11-29  3:57 Benda XU
2017-02-09  4:49 Benda XU
2016-12-11 11:29 Benda XU
2016-06-15  8:06 Benda XU
2016-06-14  4:46 Benda XU
2016-06-14  4:46 Benda XU
2016-06-07  2:36 Benda XU
2016-06-04  2:25 Benda XU
2016-06-02 13:26 Benda XU
2016-05-28  4:17 Benda XU
2016-05-27  4:39 Benda XU
2016-05-26 13:46 Benda XU
2016-05-26 10:08 Benda XU
2016-05-26  4:02 Benda XU
2016-05-26  4:02 Benda XU
2016-05-26  0:01 Benda XU
2016-05-25  2:28 Benda XU
2016-05-25  2:28 Benda XU
2016-05-23 10:53 Benda XU
2016-05-22  7:18 Benda XU
2016-03-08  9:25 Benda XU

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox