summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-05-08 16:16:54 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-05-08 16:16:54 +0000
commit1394a7a3da3169c5bbb960a167f25c592605f062 (patch)
tree7d7b962039142b1a75c516733435d81dcf8b0f01 /media-sound/apetag
parentarm/ia64/s390/sh/sparc stable wrt #268515 (diff)
downloadgentoo-2-1394a7a3da3169c5bbb960a167f25c592605f062.tar.gz
gentoo-2-1394a7a3da3169c5bbb960a167f25c592605f062.tar.bz2
gentoo-2-1394a7a3da3169c5bbb960a167f25c592605f062.zip
Remove -Werror from build.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/apetag')
-rw-r--r--media-sound/apetag/ChangeLog5
-rw-r--r--media-sound/apetag/apetag-1.12.ebuild25
2 files changed, 16 insertions, 14 deletions
diff --git a/media-sound/apetag/ChangeLog b/media-sound/apetag/ChangeLog
index 206da061cba9..d37a2af0f28d 100644
--- a/media-sound/apetag/ChangeLog
+++ b/media-sound/apetag/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/apetag
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/apetag/ChangeLog,v 1.8 2009/04/30 21:39:05 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/apetag/ChangeLog,v 1.9 2009/05/08 16:16:54 ssuominen Exp $
+
+ 08 May 2009; Samuli Suominen <ssuominen@gentoo.org> apetag-1.12.ebuild:
+ Remove -Werror from build.
*apetag-1.12 (30 Apr 2009)
diff --git a/media-sound/apetag/apetag-1.12.ebuild b/media-sound/apetag/apetag-1.12.ebuild
index d9c66d1b1e98..55053a3e387a 100644
--- a/media-sound/apetag/apetag-1.12.ebuild
+++ b/media-sound/apetag/apetag-1.12.ebuild
@@ -1,8 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/apetag/apetag-1.12.ebuild,v 1.1 2009/04/30 21:39:05 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/apetag/apetag-1.12.ebuild,v 1.2 2009/05/08 16:16:54 ssuominen Exp $
-inherit eutils toolchain-funcs base
+EAPI=2
+inherit toolchain-funcs
DESCRIPTION="Command-line ape 2.0 tagger"
HOMEPAGE="http://muth.org/Robert/Apetag/"
@@ -13,25 +14,23 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND=""
RDEPEND="dev-lang/python"
+DEPEND=""
S=${WORKDIR}/Apetag
-src_unpack() {
- base_src_unpack
- sed -i \
- -e 's,CXXDEBUG,LDFLAGS,g' \
- "${S}"/Makefile \
- || die "404. Makefile not found."
+src_prepare() {
+ sed -i -e 's:CXXDEBUG:LDFLAGS:g' \
+ "${S}"/Makefile || die "sed failed"
}
src_compile() {
- emake CXX="$(tc-getCXX)" LDFLAGS="${LDFLAGS}" CXXOPT="${CXXFLAGS}" || die "emake failed"
+ tc-export CXX
+ emake CXX="$(tc-getCXX)" LDFLAGS="${LDFLAGS}" \
+ CXXFLAGS="${CXXFLAGS} -pedantic" || die "emake failed"
}
src_install() {
- dobin apetag || die
- dobin tagdir.py rmid3tag.py cddb.py || die
- dodoc 00readme || die
+ dobin apetag tagdir.py rmid3tag.py cddb.py || die "dobin failed"
+ dodoc 00readme
}