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

(-)gcc-config-1.4.0-r4.ebuild (-1 / +7 lines)
Lines 47-53 Link Here
47
		# it is not needed ...
47
		# it is not needed ...
48
		[[ -L ${ROOT}/usr/include/g++ ]] && rm -f "${ROOT}"/usr/include/g++
48
		[[ -L ${ROOT}/usr/include/g++ ]] && rm -f "${ROOT}"/usr/include/g++
49
		[[ -L ${ROOT}/usr/include/g++-v3 ]] && rm -f "${ROOT}"/usr/include/g++-v3
49
		[[ -L ${ROOT}/usr/include/g++-v3 ]] && rm -f "${ROOT}"/usr/include/g++-v3
50
		gcc-config $(/usr/bin/gcc-config --get-current-profile)
50
51
		local i=1
52
		local current=$(/usr/bin/gcc-config --get-current-profile)
53
		while gcc-config -f $i > /dev/null 2>&1; do
54
			i=$((i+1))
55
		done
56
		gcc-config "${current}"
51
	fi
57
	fi
52
58
53
	# Scrub eselect-compiler remains
59
	# Scrub eselect-compiler remains

Return to bug 203869