Gentoo Archives: gentoo-commits

From: "Steve Arnold (nerdboy)" <nerdboy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-power/pmtools: ChangeLog pmtools-20071116.ebuild
Date: Sat, 28 Feb 2009 20:05:01
Message-Id: E1LdVQh-0002X8-7m@stork.gentoo.org
1 nerdboy 09/02/28 20:04:59
2
3 Modified: ChangeLog pmtools-20071116.ebuild
4 Log:
5 Updated to respect user LDFLAGS (see bug #253087).
6 (Portage version: 2.2_rc23/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.10 sys-power/pmtools/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/pmtools/ChangeLog?rev=1.10&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/pmtools/ChangeLog?rev=1.10&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/pmtools/ChangeLog?r1=1.9&r2=1.10
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sys-power/pmtools/ChangeLog,v
18 retrieving revision 1.9
19 retrieving revision 1.10
20 diff -u -r1.9 -r1.10
21 --- ChangeLog 9 Nov 2008 13:50:47 -0000 1.9
22 +++ ChangeLog 28 Feb 2009 20:04:59 -0000 1.10
23 @@ -1,6 +1,10 @@
24 # ChangeLog for sys-power/pmtools
25 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/ChangeLog,v 1.9 2008/11/09 13:50:47 nixnut Exp $
27 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/ChangeLog,v 1.10 2009/02/28 20:04:59 nerdboy Exp $
29 +
30 + 28 Feb 2009; Steve Arnold <nerdboy@g.o> pmtools-20071116.ebuild:
31 + Updated to respect user LDFLAGS (see bug #253087), although I don't
32 + think it matters in this case, at least I get no QA warnings...
33
34 09 Nov 2008; nixnut <nixnut@g.o> pmtools-20071116.ebuild:
35 Stable on ppc wrt bug 236747
36
37
38
39 1.6 sys-power/pmtools/pmtools-20071116.ebuild
40
41 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/pmtools/pmtools-20071116.ebuild?rev=1.6&view=markup
42 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/pmtools/pmtools-20071116.ebuild?rev=1.6&content-type=text/plain
43 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/pmtools/pmtools-20071116.ebuild?r1=1.5&r2=1.6
44
45 Index: pmtools-20071116.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/sys-power/pmtools/pmtools-20071116.ebuild,v
48 retrieving revision 1.5
49 retrieving revision 1.6
50 diff -u -r1.5 -r1.6
51 --- pmtools-20071116.ebuild 9 Nov 2008 13:50:47 -0000 1.5
52 +++ pmtools-20071116.ebuild 28 Feb 2009 20:04:59 -0000 1.6
53 @@ -1,8 +1,8 @@
54 -# Copyright 1999-2008 Gentoo Foundation
55 +# Copyright 1999-2009 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/pmtools-20071116.ebuild,v 1.5 2008/11/09 13:50:47 nixnut Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/sys-power/pmtools/pmtools-20071116.ebuild,v 1.6 2009/02/28 20:04:59 nerdboy Exp $
59
60 -inherit eutils toolchain-funcs
61 +inherit eutils flag-o-matic toolchain-funcs
62
63 DESCRIPTION="ACPI disassembler tools, including acpidump"
64 HOMEPAGE="http://ftp.kernel.org/pub/linux/kernel/people/lenb/acpi/"
65 @@ -22,16 +22,16 @@
66
67 epatch "${FILESDIR}"/${PN}-20071116-acpixtract-pmtools.patch
68
69 - # Integrated upstream
70 - #epatch "${FILESDIR}"/${PN}-20070714-madt.patch
71 + sed -i.orig -e '/^CFLAGS/s, -s , ,' \
72 + -i.orig -e "s:-Os::g" \
73 + acpidump/Makefile || die "sed failed"
74
75 - sed -i.orig \
76 - -e '/^CFLAGS/s, -s , ,' \
77 - "${S}"/acpidump/Makefile || die "sed failed"
78 + strip-unsupported-flags
79 }
80
81 src_compile() {
82 - emake CC="$(tc-getCC)" || die "emake failed"
83 + # respect user's LDFLAGS
84 + emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" || die "emake failed"
85 }
86
87 src_install() {