summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2005-11-20 21:18:01 +0000
committerTony Vroon <chainsaw@gentoo.org>2005-11-20 21:18:01 +0000
commit6cdb9edd1b3a34f1a4c07135a7da8d5e34aacd16 (patch)
tree9bc31fc3baaa8ff93c3d121482dcc4ef6160fde3 /media-sound/mp3gain
parentMarked ~ppc-macos (bug #112304) (diff)
downloadgentoo-2-6cdb9edd1b3a34f1a4c07135a7da8d5e34aacd16.tar.gz
gentoo-2-6cdb9edd1b3a34f1a4c07135a7da8d5e34aacd16.tar.bz2
gentoo-2-6cdb9edd1b3a34f1a4c07135a7da8d5e34aacd16.zip
Respect user CFLAGS & use proper CC, closes bug #113047. This one is for you, spyderous.
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'media-sound/mp3gain')
-rw-r--r--media-sound/mp3gain/ChangeLog5
-rw-r--r--media-sound/mp3gain/mp3gain-1.4.6.ebuild13
2 files changed, 16 insertions, 2 deletions
diff --git a/media-sound/mp3gain/ChangeLog b/media-sound/mp3gain/ChangeLog
index 0bf921a48b04..7e955d285b1a 100644
--- a/media-sound/mp3gain/ChangeLog
+++ b/media-sound/mp3gain/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/mp3gain
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3gain/ChangeLog,v 1.14 2005/09/14 07:33:39 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3gain/ChangeLog,v 1.15 2005/11/20 21:18:01 chainsaw Exp $
+
+ 20 Nov 2005; <chainsaw@gentoo.org> mp3gain-1.4.6.ebuild:
+ Respect user CFLAGS & use proper CC, closes bug #113047.
14 Sep 2005; Aron Griffis <agriffis@gentoo.org> mp3gain-1.4.6.ebuild:
Mark 1.4.6 stable on alpha
diff --git a/media-sound/mp3gain/mp3gain-1.4.6.ebuild b/media-sound/mp3gain/mp3gain-1.4.6.ebuild
index f3f175c70003..1580b988d92a 100644
--- a/media-sound/mp3gain/mp3gain-1.4.6.ebuild
+++ b/media-sound/mp3gain/mp3gain-1.4.6.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2005 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.ebuild,v 1.5 2005/09/14 07:33:39 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3gain/mp3gain-1.4.6.ebuild,v 1.6 2005/11/20 21:18:01 chainsaw Exp $
+
+inherit toolchain-funcs
IUSE=""
@@ -19,6 +21,15 @@ RDEPEND="virtual/libc"
DEPEND="${RDEPEND}
app-arch/unzip"
+src_unpack() {
+ unpack ${A}
+ sed -i -e "s:-Wall -O3 -DHAVE_MEMCPY:-Wall ${CFLAGS} -DHAVE_MEMCPY:" ${S}/Makefile
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die "Compile failed"
+}
+
src_install () {
dobin mp3gain
}