--- vco-plugins-0.3.0.ebuild.orig 2010-08-27 09:48:37.000000000 -0400 +++ vco-plugins-0.3.0.ebuild 2010-08-27 09:58:01.000000000 -0400 @@ -2,8 +2,11 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-plugins/vco-plugins/vco-plugins-0.3.0.ebuild,v 1.6 2007/11/18 18:11:56 aballier Exp $ +EAPI="2" + inherit multilib toolchain-funcs + IUSE="" # MY_P=${P/vco/VCO} @@ -19,11 +22,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 Makefile failed" } src_install() {