summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-07 15:08:43 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-07 15:08:43 +0000
commit82acbafb861cc7af09996c06f399c5ceee1a2240 (patch)
treeede59039c3dd383efc870d3f49a8b8c1c1a71b8e /media-sound/mp3cat
parentDrop virtual/libc dependency. Respect CC and LDFLAGS. Don't strip. (diff)
downloadgentoo-2-82acbafb861cc7af09996c06f399c5ceee1a2240.tar.gz
gentoo-2-82acbafb861cc7af09996c06f399c5ceee1a2240.tar.bz2
gentoo-2-82acbafb861cc7af09996c06f399c5ceee1a2240.zip
Drop virtual/libc dependency. Respect CC and LDFLAGS.
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'media-sound/mp3cat')
-rw-r--r--media-sound/mp3cat/ChangeLog5
-rw-r--r--media-sound/mp3cat/mp3cat-0.4.ebuild14
2 files changed, 13 insertions, 6 deletions
diff --git a/media-sound/mp3cat/ChangeLog b/media-sound/mp3cat/ChangeLog
index 468f45ccf475..6a269c1b8335 100644
--- a/media-sound/mp3cat/ChangeLog
+++ b/media-sound/mp3cat/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/mp3cat
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3cat/ChangeLog,v 1.3 2006/01/08 12:30:58 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3cat/ChangeLog,v 1.4 2006/03/07 15:08:43 flameeyes Exp $
+
+ 07 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> mp3cat-0.4.ebuild:
+ Drop virtual/libc dependency. Respect CC and LDFLAGS.
08 Jan 2006; Diego Pettenò <flameeyes@gentoo.org> metadata.xml:
Remove retiring dev from metadata.
diff --git a/media-sound/mp3cat/mp3cat-0.4.ebuild b/media-sound/mp3cat/mp3cat-0.4.ebuild
index ebd12617dee2..8b3bd798db9d 100644
--- a/media-sound/mp3cat/mp3cat-0.4.ebuild
+++ b/media-sound/mp3cat/mp3cat-0.4.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3cat/mp3cat-0.4.ebuild,v 1.2 2005/07/25 13:21:59 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mp3cat/mp3cat-0.4.ebuild,v 1.3 2006/03/07 15:08:43 flameeyes Exp $
+
+inherit toolchain-funcs
DESCRIPTION="mp3cat reads and writes MP3 files"
HOMEPAGE="http://tomclegg.net/mp3cat"
@@ -11,12 +13,14 @@ SLOT="0"
KEYWORDS="~ppc ~x86"
IUSE=""
-DEPEND="virtual/libc"
-
src_unpack() {
unpack ${A}
cd ${S}
- sed -i 's:cc -o:${CC} ${CFLAGS} -o:' Makefile
+ sed -i -e 's:cc -o:${CC} ${CFLAGS} ${LDFLAGS} -o:' Makefile
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" || die "emake failed"
}
src_install() {