Gentoo Archives: gentoo-commits

From: "Michele Noberasco (s4t4n)" <s4t4n@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-plugins/wmpiki: ChangeLog wmpiki-0.2.1.ebuild
Date: Fri, 03 Sep 2010 09:24:17
Message-Id: 20100903092412.8D78320051@flycatcher.gentoo.org
1 s4t4n 10/09/03 09:24:12
2
3 Modified: ChangeLog wmpiki-0.2.1.ebuild
4 Log:
5 Honour Gentoo LDFLAGS. Closes bug #335690.
6 (Portage version: 2.1.8.3/cvs/Linux i686)
7
8 Revision Changes Path
9 1.11 x11-plugins/wmpiki/ChangeLog
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmpiki/ChangeLog?rev=1.11&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmpiki/ChangeLog?rev=1.11&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmpiki/ChangeLog?r1=1.10&r2=1.11
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmpiki/ChangeLog,v
18 retrieving revision 1.10
19 retrieving revision 1.11
20 diff -u -r1.10 -r1.11
21 --- ChangeLog 28 Apr 2009 14:50:20 -0000 1.10
22 +++ ChangeLog 3 Sep 2010 09:24:12 -0000 1.11
23 @@ -1,6 +1,9 @@
24 # ChangeLog for x11-plugins/wmpiki
25 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpiki/ChangeLog,v 1.10 2009/04/28 14:50:20 s4t4n Exp $
27 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpiki/ChangeLog,v 1.11 2010/09/03 09:24:12 s4t4n Exp $
29 +
30 + 03 Sep 2010; Michele Noberasco <s4t4n@g.o> wmpiki-0.2.1.ebuild:
31 + Honour Gentoo LDFLAGS. Closes bug #335690.
32
33 28 Apr 2009; Michele Noberasco <s4t4n@g.o> wmpiki-0.2.1.ebuild:
34 Added some magic sed so that CC is no longer hardcoded, bug #215651.
35
36
37
38 1.10 x11-plugins/wmpiki/wmpiki-0.2.1.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmpiki/wmpiki-0.2.1.ebuild?rev=1.10&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmpiki/wmpiki-0.2.1.ebuild?rev=1.10&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmpiki/wmpiki-0.2.1.ebuild?r1=1.9&r2=1.10
43
44 Index: wmpiki-0.2.1.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmpiki/wmpiki-0.2.1.ebuild,v
47 retrieving revision 1.9
48 retrieving revision 1.10
49 diff -u -r1.9 -r1.10
50 --- wmpiki-0.2.1.ebuild 28 Apr 2009 14:50:20 -0000 1.9
51 +++ wmpiki-0.2.1.ebuild 3 Sep 2010 09:24:12 -0000 1.10
52 @@ -1,7 +1,8 @@
53 -# Copyright 1999-2009 Gentoo Foundation
54 +# Copyright 1999-2010 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpiki/wmpiki-0.2.1.ebuild,v 1.9 2009/04/28 14:50:20 s4t4n Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpiki/wmpiki-0.2.1.ebuild,v 1.10 2010/09/03 09:24:12 s4t4n Exp $
58
59 +EAPI=2
60 inherit eutils
61
62 IUSE=""
63 @@ -21,16 +22,15 @@
64 x11-proto/xextproto
65 >=sys-apps/sed-4.1.4-r1"
66
67 -src_unpack()
68 +src_prepare()
69 {
70 - unpack ${A}
71 -
72 - sed -i 's/gcc/${CC}/' "${S}/Makefile"
73 + sed -i 's/gcc/${CC}/' Makefile
74 + sed -i 's/-o wmpiki/${LDFLAGS} -o wmpiki/' Makefile
75 }
76
77 src_compile()
78 {
79 - make CFLAGS="${CFLAGS}"|| die "Compilation failed"
80 + make CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" || die "Compilation failed"
81 }
82
83 src_install()