Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/chpax: chpax-0.7.ebuild ChangeLog
Date: Tue, 14 Oct 2008 14:47:26
Message-Id: E1KplB4-0003Bt-T9@stork.gentoo.org
1 flameeyes 08/10/14 14:47:14
2
3 Modified: chpax-0.7.ebuild ChangeLog
4 Log:
5 Fix CFLAGS handling so they get injected during src_compile rather than set in stone during src_unpack; properly respect LDFLAGS (they go before the object files, not after).
6 (Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
7
8 Revision Changes Path
9 1.13 sys-apps/chpax/chpax-0.7.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/chpax/chpax-0.7.ebuild?rev=1.13&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/chpax/chpax-0.7.ebuild?rev=1.13&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/chpax/chpax-0.7.ebuild?r1=1.12&r2=1.13
14
15 Index: chpax-0.7.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sys-apps/chpax/chpax-0.7.ebuild,v
18 retrieving revision 1.12
19 retrieving revision 1.13
20 diff -u -r1.12 -r1.13
21 --- chpax-0.7.ebuild 19 Dec 2006 22:38:19 -0000 1.12
22 +++ chpax-0.7.ebuild 14 Oct 2008 14:47:14 -0000 1.13
23 @@ -1,6 +1,6 @@
24 -# Copyright 1999-2006 Gentoo Foundation
25 +# Copyright 1999-2008 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/chpax/chpax-0.7.ebuild,v 1.12 2006/12/19 22:38:19 solar Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/chpax/chpax-0.7.ebuild,v 1.13 2008/10/14 14:47:14 flameeyes Exp $
29
30 inherit flag-o-matic toolchain-funcs
31
32 @@ -18,13 +18,15 @@
33
34 src_unpack() {
35 unpack ${A}
36 - cd ${S}
37 - sed -i -e "s|-Wall|${CFLAGS}|" Makefile
38 + sed -i \
39 + -e '/^CFLAGS/s:=:+=:' \
40 + -e '/TARGET/s:CFLAGS:LDFLAGS:' \
41 + "${S}"/Makefile || die "sed in Makefile failed"
42 }
43
44 src_compile() {
45 # use static && append-ldflags -static ; # breaks with current ssp.
46 - emake CC="$(tc-getCC)" TARGET="chpax ${LDFLAGS:0}" || die "Parallel Make Failed"
47 + emake CC="$(tc-getCC)" || die "Parallel Make Failed"
48 }
49
50 src_install() {
51
52
53
54 1.35 sys-apps/chpax/ChangeLog
55
56 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/chpax/ChangeLog?rev=1.35&view=markup
57 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/chpax/ChangeLog?rev=1.35&content-type=text/plain
58 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/chpax/ChangeLog?r1=1.34&r2=1.35
59
60 Index: ChangeLog
61 ===================================================================
62 RCS file: /var/cvsroot/gentoo-x86/sys-apps/chpax/ChangeLog,v
63 retrieving revision 1.34
64 retrieving revision 1.35
65 diff -u -r1.34 -r1.35
66 --- ChangeLog 19 Dec 2006 22:38:19 -0000 1.34
67 +++ ChangeLog 14 Oct 2008 14:47:14 -0000 1.35
68 @@ -1,6 +1,11 @@
69 # ChangeLog for sys-apps/chpax
70 -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
71 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/chpax/ChangeLog,v 1.34 2006/12/19 22:38:19 solar Exp $
72 +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
73 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/chpax/ChangeLog,v 1.35 2008/10/14 14:47:14 flameeyes Exp $
74 +
75 + 14 Oct 2008; Diego Pettenò <flameeyes@g.o> chpax-0.7.ebuild:
76 + Fix CFLAGS handling so they get injected during src_compile rather than
77 + set in stone during src_unpack; properly respect LDFLAGS (they go before
78 + the object files, not after).
79
80 19 Dec 2006; <solar@g.o> chpax-0.7.ebuild:
81 - make note about chpax being obsolete and suggest paxctl