summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-02-26 15:45:15 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-02-26 15:45:15 +0000
commit378e8f142851d01bebc904edc62a57e5eeb5c0a5 (patch)
treef4d14379458d6a586687f442ef604abe47a96660 /media-video/em8300-libraries
parentMarking miscfiles-1.4.2-r1 ppc64 for bug 293265 (diff)
downloadgentoo-2-378e8f142851d01bebc904edc62a57e5eeb5c0a5.tar.gz
gentoo-2-378e8f142851d01bebc904edc62a57e5eeb5c0a5.tar.bz2
gentoo-2-378e8f142851d01bebc904edc62a57e5eeb5c0a5.zip
Fix building with -Wl,--as-needed.
(Portage version: 2.2_rc63/cvs/Linux x86_64)
Diffstat (limited to 'media-video/em8300-libraries')
-rw-r--r--media-video/em8300-libraries/ChangeLog8
-rw-r--r--media-video/em8300-libraries/em8300-libraries-0.17.4.ebuild7
2 files changed, 11 insertions, 4 deletions
diff --git a/media-video/em8300-libraries/ChangeLog b/media-video/em8300-libraries/ChangeLog
index 61c03006fecf..6a656d15c356 100644
--- a/media-video/em8300-libraries/ChangeLog
+++ b/media-video/em8300-libraries/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/em8300-libraries
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-libraries/ChangeLog,v 1.39 2009/11/16 14:41:17 zzam Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-libraries/ChangeLog,v 1.40 2010/02/26 15:45:15 ssuominen Exp $
+
+ 26 Feb 2010; Samuli Suominen <ssuominen@gentoo.org>
+ em8300-libraries-0.17.4.ebuild:
+ Fix building with -Wl,--as-needed.
*em8300-libraries-0.17.4 (16 Nov 2009)
diff --git a/media-video/em8300-libraries/em8300-libraries-0.17.4.ebuild b/media-video/em8300-libraries/em8300-libraries-0.17.4.ebuild
index 342ccc553fe8..b31ca0633901 100644
--- a/media-video/em8300-libraries/em8300-libraries-0.17.4.ebuild
+++ b/media-video/em8300-libraries/em8300-libraries-0.17.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-libraries/em8300-libraries-0.17.4.ebuild,v 1.1 2009/11/16 14:41:17 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/em8300-libraries/em8300-libraries-0.17.4.ebuild,v 1.2 2010/02/26 15:45:15 ssuominen Exp $
inherit flag-o-matic autotools
@@ -33,6 +33,9 @@ src_unpack() {
# Fix Makefile bug.
sed -i -e "s:test -z \"\$(firmwaredir)\":test -z\"\$(DESTDIR)(firmwaredir)\":g" Makefile.am
+ # Fix asneeded linking.
+ sed -i -e "s:AM_LDFLAGS:LDADD:" {dhc,overlay}/Makefile.am || die
+
eautoreconf
}