summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2009-04-16 16:39:07 +0000
committerTony Vroon <chainsaw@gentoo.org>2009-04-16 16:39:07 +0000
commitca3a99fae8774844e13c5ba7b52601f82544effd (patch)
tree5479f5fdbec903363584d1713743a2542e6d19c5 /media-sound/mp3gain
parentmanifesting (diff)
downloadgentoo-2-ca3a99fae8774844e13c5ba7b52601f82544effd.tar.gz
gentoo-2-ca3a99fae8774844e13c5ba7b52601f82544effd.tar.bz2
gentoo-2-ca3a99fae8774844e13c5ba7b52601f82544effd.zip
Patch by Joshua Rich to respect LDFLAGS, closes bug #264134. Remove old ebuild.
(Portage version: 2.1.6.11/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/mp3gain')
-rw-r--r--media-sound/mp3gain/ChangeLog9
-rw-r--r--media-sound/mp3gain/mp3gain-1.4.6-r3.ebuild (renamed from media-sound/mp3gain/mp3gain-1.4.6-r1.ebuild)21
2 files changed, 18 insertions, 12 deletions
diff --git a/media-sound/mp3gain/ChangeLog b/media-sound/mp3gain/ChangeLog
index 34e7c19d51cd..cd3ebd283134 100644
--- a/media-sound/mp3gain/ChangeLog
+++ b/media-sound/mp3gain/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-sound/mp3gain
# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3gain/ChangeLog,v 1.33 2009/03/18 07:54:41 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3gain/ChangeLog,v 1.34 2009/04/16 16:39:07 chainsaw Exp $
+
+*mp3gain-1.4.6-r3 (16 Apr 2009)
+
+ 16 Apr 2009; <chainsaw@gentoo.org> -mp3gain-1.4.6-r1.ebuild,
+ +mp3gain-1.4.6-r3.ebuild:
+ Patch by Joshua Rich to respect LDFLAGS, closes bug #264134. Remove old
+ ebuild.
18 Mar 2009; Joseph Jezak <josejx@gentoo.org> mp3gain-1.4.6-r2.ebuild:
Marked ppc stable for bug #255516.
diff --git a/media-sound/mp3gain/mp3gain-1.4.6-r1.ebuild b/media-sound/mp3gain/mp3gain-1.4.6-r3.ebuild
index c27bff61ba9f..a988fdf9225b 100644
--- a/media-sound/mp3gain/mp3gain-1.4.6-r1.ebuild
+++ b/media-sound/mp3gain/mp3gain-1.4.6-r3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3gain/mp3gain-1.4.6-r1.ebuild,v 1.8 2008/09/10 14:48:42 loki_val Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3gain/mp3gain-1.4.6-r3.ebuild,v 1.1 2009/04/16 16:39:07 chainsaw Exp $
inherit eutils flag-o-matic toolchain-funcs
@@ -15,25 +15,24 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.zip"
SLOT="0"
LICENSE="LGPL-2.1"
-KEYWORDS="alpha amd64 ~hppa ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
-RDEPEND="virtual/libc"
-DEPEND="${RDEPEND}
- app-arch/unzip"
+DEPEND="app-arch/unzip"
+RDEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
filter-flags -O*
- sed -i -e "s:-Wall -O3 -DHAVE_MEMCPY:-Wall ${CFLAGS} -DHAVE_MEMCPY:" "${S}"/Makefile
+ sed -i -e "s:CC=.*:CC=$(tc-getCC):" \
+ -e "s:CFLAGS= -Wall -O3 -DHAVE_MEMCPY:CFLAGS+= -Wall -DHAVE_MEMCPY:" \
+ -e "s:LIBS=.*:LIBS= ${LDFLAGS} -lm:" \
+ "${S}"/Makefile \
+ || die "Unable to adjust build system compiler/flags."
epatch "${FILESDIR}"/${PV}-option-parser.patch
}
-src_compile() {
- emake CC="$(tc-getCC)" || die "Compile failed"
-}
-
src_install () {
dobin mp3gain
}