summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2016-06-15 17:05:11 +0900
committerBenda Xu <heroxbd@gentoo.org>2016-06-15 17:06:26 +0900
commit371a03cadf5cb9ef858265dd9295c7645e1c3850 (patch)
treeb331975a28bc23946c351575854ef054ab6117f7 /profiles
parentnet-fs/autofs-5.1.1-r1: add alpha keyword (diff)
downloadgentoo-371a03cadf5cb9ef858265dd9295c7645e1c3850.tar.gz
gentoo-371a03cadf5cb9ef858265dd9295c7645e1c3850.tar.bz2
gentoo-371a03cadf5cb9ef858265dd9295c7645e1c3850.zip
p/p/l-s/profile.bashrc: don't build zlib test binaries during bootstrap.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/prefix/linux-standalone/profile.bashrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/profiles/prefix/linux-standalone/profile.bashrc b/profiles/prefix/linux-standalone/profile.bashrc
index 77092b95fed8..ed3523782ecc 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"