summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-02-03 19:23:25 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-02-03 19:23:25 +0000
commitc4ff27cd2ff8815a95634347138a2f3eae36a37d (patch)
tree0807138787fbd14d582e5068d7baed67be8ae043 /sys-power
parentInitial import of aquarium. Ebuild by Mike Pirnat, closes #104075 (diff)
downloadgentoo-2-c4ff27cd2ff8815a95634347138a2f3eae36a37d.tar.gz
gentoo-2-c4ff27cd2ff8815a95634347138a2f3eae36a37d.tar.bz2
gentoo-2-c4ff27cd2ff8815a95634347138a2f3eae36a37d.zip
Fix build with --as-needed, see bug #256521.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/iasl/ChangeLog6
-rw-r--r--sys-power/iasl/iasl-20090123.ebuild5
2 files changed, 9 insertions, 2 deletions
diff --git a/sys-power/iasl/ChangeLog b/sys-power/iasl/ChangeLog
index 4072210b9419..829feeea4f57 100644
--- a/sys-power/iasl/ChangeLog
+++ b/sys-power/iasl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-power/iasl
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/ChangeLog,v 1.22 2009/01/24 21:18:24 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/ChangeLog,v 1.23 2009/02/03 19:23:25 flameeyes Exp $
+
+ 03 Feb 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ iasl-20090123.ebuild:
+ Fix build with --as-needed, see bug #256521.
*iasl-20090123 (24 Jan 2009)
diff --git a/sys-power/iasl/iasl-20090123.ebuild b/sys-power/iasl/iasl-20090123.ebuild
index aee9731a5f00..412ba2860951 100644
--- a/sys-power/iasl/iasl-20090123.ebuild
+++ b/sys-power/iasl/iasl-20090123.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/sys-power/iasl/iasl-20090123.ebuild,v 1.1 2009/01/24 21:18:24 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/iasl/iasl-20090123.ebuild,v 1.2 2009/02/03 19:23:25 flameeyes Exp $
inherit toolchain-funcs flag-o-matic eutils
@@ -39,6 +39,9 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/iasl-20080701-parallelmake.patch
+
+ sed -i -e 's:LDFLAGS=:LDLIBS+=:' \
+ "${S}"/compiler/Makefile || die "unable to fix compiler Makefile"
}
src_compile() {