diff options
Diffstat (limited to 'media-sound/mp3check/mp3check-0.8.4.ebuild')
-rw-r--r-- | media-sound/mp3check/mp3check-0.8.4.ebuild | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/media-sound/mp3check/mp3check-0.8.4.ebuild b/media-sound/mp3check/mp3check-0.8.4.ebuild index d4a31198499b..6278730bf85b 100644 --- a/media-sound/mp3check/mp3check-0.8.4.ebuild +++ b/media-sound/mp3check/mp3check-0.8.4.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3check/mp3check-0.8.4.ebuild,v 1.2 2011/12/02 19:19:27 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3check/mp3check-0.8.4.ebuild,v 1.3 2011/12/02 23:58:54 radhermit Exp $ -EAPI=2 +EAPI=4 inherit toolchain-funcs DESCRIPTION="Checks mp3 files for consistency and prints several errors and warnings." @@ -14,13 +14,14 @@ SLOT="0" KEYWORDS="~alpha amd64 ~ppc ~sparc ~x86" IUSE="" -RDEPEND="" -DEPEND="" +src_prepare() { + sed -i -e "/^WARN/s/-g//" Makefile || die +} src_compile() { - emake CXX="$(tc-getCXX)" OPT="${CXXFLAGS}" || die "emake failed" + emake CXX="$(tc-getCXX)" OPT="${CXXFLAGS}" } src_install() { - dobin mp3check || die "dobin failed" + dobin mp3check } |