--- mcp-plugins-0.4.0.ebuild.orig 2010-08-27 12:40:44.000000000 -0400 +++ mcp-plugins-0.4.0.ebuild 2010-08-27 12:44:07.000000000 -0400 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-plugins/mcp-plugins/mcp-plugins-0.4.0.ebuild,v 1.1 2008/04/19 14:12:19 aballier Exp $ +EAPI="2" + inherit multilib toolchain-funcs IUSE="" @@ -19,11 +21,10 @@ S=${WORKDIR}/${MY_P} -src_compile() { +src_configure() { tc-export CXX - sed -i -e "s/-O3//" Makefile - sed -i -e "s/g++/$(tc-getCXX)/" Makefile - emake || die + sed -i Makefile -e "s/-O3//" \ + -e "s/g++/$(tc-getCXX) ${LDFLAGS}/" || die "sed failed" } src_install() {