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

Collapse All | Expand All

(-)a/cdrtools-2.01.01_alpha57-r1.ebuild (+6 lines)
Lines 62-67 Link Here
62
62
63
	# lame symlinks that all point to the same thing
63
	# lame symlinks that all point to the same thing
64
	cd "${S}"/RULES
64
	cd "${S}"/RULES
65
	local tcCC=$(tc-getCC)
66
	local tcCXX=$(tc-getCXX)
67
	sed -i -e "/cc-config.sh/s/\$(C_ARCH:%64=%) \$(CCOM_DEF)/${tcCC} ${tcCC}/" rules1.top || die "sed fix rules1 CC failed"
68
	sed -e "/^\(CC\|DYNLD\|LDCC\|MKDEP\)/s/gcc/${tcCC}/" \
69
		-e "/^\(CC++\|DYNLDC++\|LDCC++\|MKC++DEP\)/s/g++/${tcCXX}/" \
70
		-i cc-gcc.rul || die "sed fix cc-gcc CC failed"
65
	local t
71
	local t
66
	for t in ppc64 sh4 s390x ; do
72
	for t in ppc64 sh4 s390x ; do
67
		ln -s i586-linux-cc.rul ${t}-linux-cc.rul || die
73
		ln -s i586-linux-cc.rul ${t}-linux-cc.rul || die

Return to bug 243528