summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-07 14:57:52 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-07 14:57:52 +0000
commit36d39f185e2c90b0908f4052757e233ebc201358 (patch)
treedc70b5581105f55269162bd8139dda3b40777d32 /media-sound/mcdp
parentDrop virtual/libc dependency. (diff)
downloadgentoo-2-36d39f185e2c90b0908f4052757e233ebc201358.tar.gz
gentoo-2-36d39f185e2c90b0908f4052757e233ebc201358.tar.bz2
gentoo-2-36d39f185e2c90b0908f4052757e233ebc201358.zip
Drop virtual/libc dependency. Respect LDFLAGS. Don't strip.
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'media-sound/mcdp')
-rw-r--r--media-sound/mcdp/ChangeLog6
-rw-r--r--media-sound/mcdp/files/mcdp-0.4a-makefile.patch14
-rw-r--r--media-sound/mcdp/mcdp-0.4a.ebuild9
3 files changed, 23 insertions, 6 deletions
diff --git a/media-sound/mcdp/ChangeLog b/media-sound/mcdp/ChangeLog
index 3c864060c475..ee956453944c 100644
--- a/media-sound/mcdp/ChangeLog
+++ b/media-sound/mcdp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/mcdp
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mcdp/ChangeLog,v 1.15 2006/03/04 07:31:38 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mcdp/ChangeLog,v 1.16 2006/03/07 14:57:51 flameeyes Exp $
+
+ 07 Mar 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/mcdp-0.4a-makefile.patch, mcdp-0.4a.ebuild:
+ Drop virtual/libc dependency. Respect LDFLAGS. Don't strip.
*mcdp-0.4a (04 Mar 2006)
diff --git a/media-sound/mcdp/files/mcdp-0.4a-makefile.patch b/media-sound/mcdp/files/mcdp-0.4a-makefile.patch
new file mode 100644
index 000000000000..33895f24f7fb
--- /dev/null
+++ b/media-sound/mcdp/files/mcdp-0.4a-makefile.patch
@@ -0,0 +1,14 @@
+Index: mcdp-0.4a/Makefile
+===================================================================
+--- mcdp-0.4a.orig/Makefile
++++ mcdp-0.4a/Makefile
+@@ -29,9 +29,7 @@ PRGS = mcdp
+ all: $(PRGS)
+
+ mcdp: $(OBJS)
+- strip -x $(S_FLAGS) $(OBJS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS)
+- strip $(S_FLAGS) mcdp
+
+ dep: clean
+ cc -MM $(SRC) > .depend
diff --git a/media-sound/mcdp/mcdp-0.4a.ebuild b/media-sound/mcdp/mcdp-0.4a.ebuild
index d42e5baaf2e3..54efdd1f3dc5 100644
--- a/media-sound/mcdp/mcdp-0.4a.ebuild
+++ b/media-sound/mcdp/mcdp-0.4a.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mcdp/mcdp-0.4a.ebuild,v 1.1 2006/03/04 07:31:38 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mcdp/mcdp-0.4a.ebuild,v 1.2 2006/03/07 14:57:52 flameeyes Exp $
inherit eutils toolchain-funcs
@@ -13,15 +13,14 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE=""
-DEPEND="virtual/libc"
-
src_unpack() {
unpack ${A}
- epatch "${FILESDIR}"/${P}-dietlibc-fix.patch
+ epatch "${FILESDIR}/${P}-dietlibc-fix.patch"
+ epatch "${FILESDIR}/${P}-makefile.patch"
}
src_compile() {
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die
}
src_install() {