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

Collapse All | Expand All

(-)a/usr/portage/eclass/toolchain.eclass (-4 / +4 lines)
Lines 2198-2209 Link Here
2198
2198
2199
		mkdir -p "${EROOT}"usr/{share/gcc-data,sbin,bin}
2199
		mkdir -p "${EROOT}"usr/{share/gcc-data,sbin,bin}
2200
		# DATAPATH has EPREFIX already, use ROOT with it
2200
		# DATAPATH has EPREFIX already, use ROOT with it
2201
		cp "${ROOT}${DATAPATH}"/fixlafiles.awk "${EROOT}"usr/share/gcc-data/ || die
2201
		cp "${ROOT%/}${DATAPATH}"/fixlafiles.awk "${EROOT}"usr/share/gcc-data/ || die
2202
		cp "${ROOT}${DATAPATH}"/fix_libtool_files.sh "${EROOT}"usr/sbin/ || die
2202
		cp "${ROOT%/}${DATAPATH}"/fix_libtool_files.sh "${EROOT}"usr/sbin/ || die
2203
2203
2204
		# Since these aren't critical files and portage sucks with
2204
		# Since these aren't critical files and portage sucks with
2205
		# handling of binpkgs, don't require these to be found
2205
		# handling of binpkgs, don't require these to be found
2206
		cp "${ROOT}${DATAPATH}"/c{89,99} "${EROOT}"usr/bin/ 2>/dev/null
2206
		cp "${ROOT%/}${DATAPATH}"/c{89,99} "${EROOT}"usr/bin/ 2>/dev/null
2207
	fi
2207
	fi
2208
2208
2209
	if use regression-test ; then
2209
	if use regression-test ; then
Lines 2272-2278 Link Here
2272
		[[ -n ${current_specs} ]] && use_specs=-${current_specs}
2272
		[[ -n ${current_specs} ]] && use_specs=-${current_specs}
2273
2273
2274
		if [[ -n ${use_specs} ]] && \
2274
		if [[ -n ${use_specs} ]] && \
2275
		   [[ ! -e ${ROOT}/etc/env.d/gcc/${CTARGET}-${GCC_CONFIG_VER}${use_specs} ]]
2275
		   [[ ! -e ${ROOT%/}/etc/env.d/gcc/${CTARGET}-${GCC_CONFIG_VER}${use_specs} ]]
2276
		then
2276
		then
2277
			ewarn "The currently selected specs-specific gcc config,"
2277
			ewarn "The currently selected specs-specific gcc config,"
2278
			ewarn "${current_specs}, doesn't exist anymore. This is usually"
2278
			ewarn "${current_specs}, doesn't exist anymore. This is usually"

Return to bug 657594