Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 904242 | Differences between
and this patch

Collapse All | Expand All

(-)a/scripts/bootstrap-prefix.sh (-2 / +7 lines)
Lines 673-685 bootstrap_portage() { Link Here
673
	fix_config_sub
673
	fix_config_sub
674
674
675
	# disable ipc
675
	# disable ipc
676
	sed -e "s:_enable_ipc_daemon = True:_enable_ipc_daemon = False:" \
676
	${ROOT}/tmp/bin/sed -e "s:_enable_ipc_daemon = True:_enable_ipc_daemon = False:" \
677
		-i lib/_emerge/AbstractEbuildProcess.py || \
677
		-i lib/_emerge/AbstractEbuildProcess.py || \
678
		return 1
678
		return 1
679
679
680
	# host-provided wget may lack certificates, stage1 wget is without ssl
680
	# host-provided wget may lack certificates, stage1 wget is without ssl
681
	[[ $(wget -h) == *"--no-check-certificate"* ]] &&
681
	[[ $(wget -h) == *"--no-check-certificate"* ]] &&
682
	sed -e '/wget/s/ --passive-ftp /&--no-check-certificate /' -i cnf/make.globals
682
	${ROOT}/tmp/bin/sed -e '/wget/s/ --passive-ftp /&--no-check-certificate /' -i cnf/make.globals
683
683
684
	# Portage checks for valid shebangs. These may (xz-utils) originate
684
	# Portage checks for valid shebangs. These may (xz-utils) originate
685
	# in CONFIG_SHELL (AIX), which originates in PORTAGE_BASH then.
685
	# in CONFIG_SHELL (AIX), which originates in PORTAGE_BASH then.
Lines 690-695 bootstrap_portage() { Link Here
690
	[[ -x ${ROOT}/tmp/bin/bash ]] || ln -s "${BASH}" "${ROOT}"/tmp/bin/bash || return 1
690
	[[ -x ${ROOT}/tmp/bin/bash ]] || ln -s "${BASH}" "${ROOT}"/tmp/bin/bash || return 1
691
	[[ -x ${ROOT}/tmp/bin/sh ]] || ln -s bash "${ROOT}"/tmp/bin/sh || return 1
691
	[[ -x ${ROOT}/tmp/bin/sh ]] || ln -s bash "${ROOT}"/tmp/bin/sh || return 1
692
	export PORTAGE_BASH="${ROOT}"/tmp/bin/bash
692
	export PORTAGE_BASH="${ROOT}"/tmp/bin/bash
693
	export PREFIX_PORTAGE_PYTHON=${ROOT}/tmp/bin/python
694
	export PORTAGE_SED=${ROOT}/tmp/bin/sed
695
	export PORTAGE_FIND=${ROOT}/tmp/bin/find
696
	export PORTAGE_XARGS=${ROOT}/tmp/bin/xargs
697
	export INSTALL=${ROOT}/tmp/bin/install
693
698
694
	einfo "Compiling ${A%.tar.*}"
699
	einfo "Compiling ${A%.tar.*}"
695
	econf \
700
	econf \

Return to bug 904242