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
commit80996739f15e3f0ce6ad2e0aa7c3cdd544ce8b20 (patch)
tree8201563c2e86905277eeb4bb3b05b00d28f58633 /media-video/em8300-libraries/em8300-libraries-0.17.4.ebuild
parentMarking miscfiles-1.4.2-r1 ppc64 for bug 293265 (diff)
downloadhistorical-80996739f15e3f0ce6ad2e0aa7c3cdd544ce8b20.tar.gz
historical-80996739f15e3f0ce6ad2e0aa7c3cdd544ce8b20.tar.bz2
historical-80996739f15e3f0ce6ad2e0aa7c3cdd544ce8b20.zip
Fix building with -Wl,--as-needed.
Package-Manager: portage-2.2_rc63/cvs/Linux x86_64
Diffstat (limited to 'media-video/em8300-libraries/em8300-libraries-0.17.4.ebuild')
-rw-r--r--media-video/em8300-libraries/em8300-libraries-0.17.4.ebuild7
1 files changed, 5 insertions, 2 deletions
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
}