Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 183874
Collapse All | Expand All

(-)scripts/bootstrap-prefix.sh (-1 / +6 lines)
Lines 187-192 Link Here
187
187
188
bootstrap_tree() {
188
bootstrap_tree() {
189
	local def="20080330"
189
	local def="20080330"
190
	local usrlib=""
190
	case ${CHOST} in
191
	case ${CHOST} in
191
		powerpc-ibm-aix*)            PV="${def}" ;;
192
		powerpc-ibm-aix*)            PV="${def}" ;;
192
		i*86-apple-darwin8)          PV="${def}" ;;
193
		i*86-apple-darwin8)          PV="${def}" ;;
Lines 203-209 Link Here
203
		mips-sgi-irix*)              PV="${def}" ;;
204
		mips-sgi-irix*)              PV="${def}" ;;
204
		i*86-pc-linux-gnu)           PV="${def}" ;;
205
		i*86-pc-linux-gnu)           PV="${def}" ;;
205
		ia64-pc-linux-gnu)           PV="${def}" ;;
206
		ia64-pc-linux-gnu)           PV="${def}" ;;
206
		x86_64-pc-linux-gnu)         PV="${def}" ;;
207
		x86_64-pc-linux-gnu)         PV="${def}" ; usrlib="lib64" ;;
207
		i*86-pc-netbsdelf*)          PV="${def}" ;; 
208
		i*86-pc-netbsdelf*)          PV="${def}" ;; 
208
		powerpc-unknown-openbsd*)    PV="${def}" ;;
209
		powerpc-unknown-openbsd*)    PV="${def}" ;;
209
		i*86-pc-openbsd*)            PV="${def}" ;;
210
		i*86-pc-openbsd*)            PV="${def}" ;;
Lines 222-227 Link Here
222
	do
223
	do
223
		[ -d "${ROOT}/${x}" ] || mkdir -p "${ROOT}/${x}"
224
		[ -d "${ROOT}/${x}" ] || mkdir -p "${ROOT}/${x}"
224
	done
225
	done
226
	if [[ "${usrlib}" != "" && ! -d "${ROOT}/usr/${usrlib}" ]]; then
227
		mkdir -p "${ROOT}/usr/${usrlib}"
228
		[[ -e "${ROOT}/usr/lib" ]] || ( cd "${ROOT}/usr" && ln -s "${usrlib}" lib )
229
	fi
225
	if [ ! -e "${ROOT}"/usr/portage/.unpacked ]; then
230
	if [ ! -e "${ROOT}"/usr/portage/.unpacked ]; then
226
		cd "${ROOT}"/usr
231
		cd "${ROOT}"/usr
227
		efetch "${PORTAGE_URL}/prefix-overlay-${PV}.tar.bz2"
232
		efetch "${PORTAGE_URL}/prefix-overlay-${PV}.tar.bz2"

Return to bug 183874