summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2009-02-09 17:03:43 +0000
committerChristoph Mende <angelos@gentoo.org>2009-02-09 17:03:43 +0000
commit61ec98a62084216b837cb0e34734621da4aeba85 (patch)
tree32201b22b32069d0524be4e107ece56610a1e664 /media-sound/audio-entropyd
parentRespect LDFLAGS (diff)
downloadgentoo-2-61ec98a62084216b837cb0e34734621da4aeba85.tar.gz
gentoo-2-61ec98a62084216b837cb0e34734621da4aeba85.tar.bz2
gentoo-2-61ec98a62084216b837cb0e34734621da4aeba85.zip
Respect LDFLAGS
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/audio-entropyd')
-rw-r--r--media-sound/audio-entropyd/ChangeLog6
-rw-r--r--media-sound/audio-entropyd/audio-entropyd-1.0.5.ebuild5
-rw-r--r--media-sound/audio-entropyd/files/audio-entropyd-1.0.5-ldflags.patch11
3 files changed, 19 insertions, 3 deletions
diff --git a/media-sound/audio-entropyd/ChangeLog b/media-sound/audio-entropyd/ChangeLog
index 0aa7d18a3284..e541fe187334 100644
--- a/media-sound/audio-entropyd/ChangeLog
+++ b/media-sound/audio-entropyd/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/audio-entropyd
# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/ChangeLog,v 1.27 2009/01/04 13:24:59 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/ChangeLog,v 1.28 2009/02/09 17:03:42 angelos Exp $
+
+ 09 Feb 2009; Christoph Mende <angelos@gentoo.org>
+ +files/audio-entropyd-1.0.5-ldflags.patch, audio-entropyd-1.0.5.ebuild:
+ Respect LDFLAGS
*audio-entropyd-1.0.5 (04 Jan 2009)
diff --git a/media-sound/audio-entropyd/audio-entropyd-1.0.5.ebuild b/media-sound/audio-entropyd/audio-entropyd-1.0.5.ebuild
index f53e580d5116..8f6a095c2aed 100644
--- a/media-sound/audio-entropyd/audio-entropyd-1.0.5.ebuild
+++ b/media-sound/audio-entropyd/audio-entropyd-1.0.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/audio-entropyd-1.0.5.ebuild,v 1.1 2009/01/04 13:24:59 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/audio-entropyd/audio-entropyd-1.0.5.ebuild,v 1.2 2009/02/09 17:03:42 angelos Exp $
inherit eutils toolchain-funcs
@@ -19,7 +19,8 @@ src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}/${P}-uclibc.patch"
+ epatch "${FILESDIR}/${P}-uclibc.patch" \
+ "${FILESDIR}/${P}-ldflags.patch"
sed -i -e "s:^OPT_FLAGS=.*:OPT_FLAGS=${CFLAGS}:" Makefile
}
diff --git a/media-sound/audio-entropyd/files/audio-entropyd-1.0.5-ldflags.patch b/media-sound/audio-entropyd/files/audio-entropyd-1.0.5-ldflags.patch
new file mode 100644
index 000000000000..b0446b1919e1
--- /dev/null
+++ b/media-sound/audio-entropyd/files/audio-entropyd-1.0.5-ldflags.patch
@@ -0,0 +1,11 @@
+--- Makefile.orig 2009-02-09 18:01:37.884656874 +0100
++++ Makefile 2009-02-09 18:01:44.412654720 +0100
+@@ -12,7 +12,7 @@
+ all: $(TARGETS)
+
+ audio-entropyd: snd_dev.o audio-entropyd.o error.o proc.o val.o RNGTEST.o error.o
+- $(CC) -o $@ $^ $(LFLAGS)
++ $(CC) $(LDFLAGS) -o $@ $^ $(LFLAGS)
+
+ install: audio-entropyd
+ cp audio-entropyd /usr/local/sbin/