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"

Reply via email to