summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klausmann <klausman@gentoo.org>2012-01-17 12:55:52 +0000
committerTobias Klausmann <klausman@gentoo.org>2012-01-17 12:55:52 +0000
commit02b6c463315ad72b8fe78435a9de9c875203cb8a (patch)
tree10484fcb29f49044f9fcf247127ea5441d7e61e9 /media-sound/audacious/audacious-3.1.1.ebuild
parentRemove kdeenablefinal patch. Build feature is gone. (diff)
downloadgentoo-2-02b6c463315ad72b8fe78435a9de9c875203cb8a.tar.gz
gentoo-2-02b6c463315ad72b8fe78435a9de9c875203cb8a.tar.bz2
gentoo-2-02b6c463315ad72b8fe78435a9de9c875203cb8a.zip
Make '-z defs' a linker flag explicitly (bug 395213)
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/audacious/audacious-3.1.1.ebuild')
-rw-r--r--media-sound/audacious/audacious-3.1.1.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/media-sound/audacious/audacious-3.1.1.ebuild b/media-sound/audacious/audacious-3.1.1.ebuild
index 8cc3c5033e03..6f1b4d234bc4 100644
--- a/media-sound/audacious/audacious-3.1.1.ebuild
+++ b/media-sound/audacious/audacious-3.1.1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/audacious/audacious-3.1.1.ebuild,v 1.1 2011/12/05 22:46:56 chainsaw Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/audacious/audacious-3.1.1.ebuild,v 1.2 2012/01/17 12:55:52 klausman Exp $
EAPI=4
+inherit eutils
MY_P="${P/_/-}"
S="${WORKDIR}/${MY_P}"
@@ -34,6 +35,10 @@ DEPEND="${RDEPEND}
PDEPEND=">=media-plugins/audacious-plugins-3.1.1"
src_configure() {
+ # Some gccs don't like "-z defs" on their command line. Explicitly make it a
+ # linker flag (bug 395213).
+ epatch "${FILESDIR}/audacious_ldflags.patch"
+
# D-Bus is a mandatory dependency, remote control,
# session management and some plugins depend on this.
# Building without D-Bus is *unsupported* and a USE-flag