summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-07 15:13:05 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-07 15:13:05 +0000
commitcf7849ade0cc341f60278e25645e8c64fc28a41b (patch)
tree964508ef409e9627b397987d7b60049f84703112 /media-sound/mp3cat
parentDrop virtual/libc dependency. Respect CC and LDFLAGS. Don't strip. (diff)
downloadhistorical-cf7849ade0cc341f60278e25645e8c64fc28a41b.tar.gz
historical-cf7849ade0cc341f60278e25645e8c64fc28a41b.tar.bz2
historical-cf7849ade0cc341f60278e25645e8c64fc28a41b.zip
Drop virtual/libc dependency. Respect CC and LDFLAGS.
Package-Manager: portage-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() {