in sys-libs/libixp/libixp-0.2.ebuild is the following sed expression : sed -i \ -e "/^PREFIX/s/=.*/= \/usr/" \ -e "/^CFLAGS/s/= -Os/+=/" \ -e "/^LDFLAGS/s/=/+=/" \ -e "/^AR/s/=.*/= $(tc-getAR) cr/" \ -e "/^CC/s/=.*/= $(tc-getCC)/" \ -e "/^RANLIB/s/=.*/= $(tc-getRANLIB)/" \ config.mk || die "sed failed" On my system $(tc-getCC) is evaluated to /usr/share/cache/bin/gcc The '/' characters make the sed expression fail, a dirty workaround is to replace : -e "/^CC/s/=.*/= $(tc-getCC)/" \ by : -e "/^CC/s\\=.*\\= $(tc-getCC)\\" \
Should be fixed. Thank you for the bug report. :)