diff options
-rw-r--r-- | sys-power/pmtools/ChangeLog | 8 | ||||
-rw-r--r-- | sys-power/pmtools/pmtools-20071116.ebuild | 18 |
2 files changed, 15 insertions, 11 deletions
diff --git a/sys-power/pmtools/ChangeLog b/sys-power/pmtools/ChangeLog index 4a14224711e2..189e66dd5bec 100644 --- a/sys-power/pmtools/ChangeLog +++ b/sys-power/pmtools/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-power/pmtools -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/ChangeLog,v 1.9 2008/11/09 13:50:47 nixnut Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/ChangeLog,v 1.10 2009/02/28 20:04:59 nerdboy Exp $ + + 28 Feb 2009; Steve Arnold <nerdboy@gentoo.org> pmtools-20071116.ebuild: + Updated to respect user LDFLAGS (see bug #253087), although I don't + think it matters in this case, at least I get no QA warnings... 09 Nov 2008; nixnut <nixnut@gentoo.org> pmtools-20071116.ebuild: Stable on ppc wrt bug 236747 diff --git a/sys-power/pmtools/pmtools-20071116.ebuild b/sys-power/pmtools/pmtools-20071116.ebuild index ce1dcbc5d725..8e642ae17031 100644 --- a/sys-power/pmtools/pmtools-20071116.ebuild +++ b/sys-power/pmtools/pmtools-20071116.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/pmtools-20071116.ebuild,v 1.5 2008/11/09 13:50:47 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/pmtools-20071116.ebuild,v 1.6 2009/02/28 20:04:59 nerdboy Exp $ -inherit eutils toolchain-funcs +inherit eutils flag-o-matic toolchain-funcs DESCRIPTION="ACPI disassembler tools, including acpidump" HOMEPAGE="http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/" @@ -22,16 +22,16 @@ src_unpack() { epatch "${FILESDIR}"/${PN}-20071116-acpixtract-pmtools.patch - # Integrated upstream - #epatch "${FILESDIR}"/${PN}-20070714-madt.patch + sed -i.orig -e '/^CFLAGS/s, -s , ,' \ + -i.orig -e "s:-Os::g" \ + acpidump/Makefile || die "sed failed" - sed -i.orig \ - -e '/^CFLAGS/s, -s , ,' \ - "${S}"/acpidump/Makefile || die "sed failed" + strip-unsupported-flags } src_compile() { - emake CC="$(tc-getCC)" || die "emake failed" + # respect user's LDFLAGS + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" || die "emake failed" } src_install() { |