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"