--- /usr/portage/media-sound/vorbis-tools/vorbis-tools-1.1.1-r2.ebuild 2006-10-19 19:36:04.000000000 +0200 +++ vorbis-tools-1.1.1-r2.ebuild 2006-11-13 11:27:21.000000000 +0100 @@ -2,8 +2,6 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-sound/vorbis-tools/vorbis-tools-1.1.1-r2.ebuild,v 1.5 2006/10/19 17:18:48 flameeyes Exp $ -IUSE="nls flac speex" - inherit eutils toolchain-funcs flag-o-matic DESCRIPTION="tools for using the Ogg Vorbis sound file format" @@ -13,6 +11,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="nls flac speex" RDEPEND=">=media-libs/libvorbis-1.1.0 >=media-libs/libao-0.8.2 @@ -39,16 +38,18 @@ src_compile() { use hppa && [ "`gcc-fullversion`" == "3.3.2" ] && replace-flags -march=2.0 -march=1.0 - local myconf # --with-flac is not supported. See bug #49763 - use flac || myconf="${myconf} --without-flac" # --with-speex is not supported. See bug #97316 - use speex || myconf="${myconf} --without-speex" - use nls || myconf="${myconf} --disable-nls" + # build and install vcut by default. See bug #143487 + econf \ + --without-flac \ + --without-speex \ + --enable-vcut \ + $(use_enable nls nls) \ + ${myconf} || die "econf failed" - econf ${myconf} || die - emake || die + emake || die "emake failed" } src_install() {