--- audicle-1.0.0.7.ebuild 2012-05-05 10:31:19.000000000 +0200 +++ audicle-1.0.0.7.ebuild 2013-05-19 13:40:51.538971307 +0200 @@ -2,8 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/audicle/audicle-1.0.0.7.ebuild,v 1.2 2012/05/05 08:11:27 mgorny Exp $ -EAPI=2 -inherit eutils toolchain-funcs flag-o-matic +EAPI=5 +inherit eutils flag-o-matic DESCRIPTION="A Context-sensitive, On-the-fly Audio Programming Environ/mentality" HOMEPAGE="http://audicle.cs.princeton.edu/" @@ -11,7 +11,7 @@ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="~x86 ~amd64" IUSE="+alsa jack oss truetype" RDEPEND="jack? ( media-sound/jack-audio-connection-kit ) @@ -38,7 +38,7 @@ sed -i \ -e "s@../ftgl_lib/FTGL/include@/usr/include/FTGL@" \ -e "s@../ftgl_lib/FTGL/mac/build@/usr/lib@" \ - -e "s/gcc -o/\$(CC) -o/" \ + -e "s/gcc -o/\$(CC) \$(LDFLAGS) -o/" \ -e "s/-O3 -c/-c \$(CFLAGS)/" \ src/makefile.{alsa,jack,oss} || die "sed failed" } @@ -57,7 +57,7 @@ einfo "Compiling against ${backend}" cd "${S}/src" emake -f "makefile.${backend}" CC=$(tc-getCC) CXX=$(tc-getCXX) LEX=flex \ - YACC=bison ${config} || die "emake failed" + YACC=bison ${config} LDFLAGS="${LDFLAGS}" mv audicle{,-${backend}} emake -f makefile clean }