1 |
s4t4n 10/08/31 10:00:34 |
2 |
|
3 |
Modified: ChangeLog wmapm-3.1-r1.ebuild |
4 |
Log: |
5 |
Honour LDFLAGS, see bug #334747. |
6 |
Honour CFLAGS. |
7 |
(Portage version: 2.1.8.3/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.12 x11-plugins/wmapm/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmapm/ChangeLog?rev=1.12&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmapm/ChangeLog?rev=1.12&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmapm/ChangeLog?r1=1.11&r2=1.12 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmapm/ChangeLog,v |
19 |
retrieving revision 1.11 |
20 |
retrieving revision 1.12 |
21 |
diff -u -r1.11 -r1.12 |
22 |
--- ChangeLog 22 Jul 2007 05:28:39 -0000 1.11 |
23 |
+++ ChangeLog 31 Aug 2010 10:00:34 -0000 1.12 |
24 |
@@ -1,6 +1,10 @@ |
25 |
# ChangeLog for x11-plugins/wmapm |
26 |
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmapm/ChangeLog,v 1.11 2007/07/22 05:28:39 dberkholz Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmapm/ChangeLog,v 1.12 2010/08/31 10:00:34 s4t4n Exp $ |
30 |
+ |
31 |
+ 31 Aug 2010; Michele Noberasco <s4t4n@g.o>; wmapm-3.1-r1.ebuild: |
32 |
+ Honour LDFLAGS, see bug #334747. |
33 |
+ Honour CFLAGS. |
34 |
|
35 |
22 Jul 2007; Donnie Berkholz <dberkholz@g.o>; wmapm-3.1-r1.ebuild: |
36 |
Drop virtual/x11 references. |
37 |
|
38 |
|
39 |
|
40 |
1.15 x11-plugins/wmapm/wmapm-3.1-r1.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmapm/wmapm-3.1-r1.ebuild?rev=1.15&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmapm/wmapm-3.1-r1.ebuild?rev=1.15&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-plugins/wmapm/wmapm-3.1-r1.ebuild?r1=1.14&r2=1.15 |
45 |
|
46 |
Index: wmapm-3.1-r1.ebuild |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/x11-plugins/wmapm/wmapm-3.1-r1.ebuild,v |
49 |
retrieving revision 1.14 |
50 |
retrieving revision 1.15 |
51 |
diff -u -r1.14 -r1.15 |
52 |
--- wmapm-3.1-r1.ebuild 29 Jun 2008 13:14:44 -0000 1.14 |
53 |
+++ wmapm-3.1-r1.ebuild 31 Aug 2010 10:00:34 -0000 1.15 |
54 |
@@ -1,6 +1,6 @@ |
55 |
-# Copyright 1999-2008 Gentoo Foundation |
56 |
+# Copyright 1999-2010 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmapm/wmapm-3.1-r1.ebuild,v 1.14 2008/06/29 13:14:44 drac Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmapm/wmapm-3.1-r1.ebuild,v 1.15 2010/08/31 10:00:34 s4t4n Exp $ |
60 |
|
61 |
DESCRIPTION="WindowMaker DockApp: Battery/Power status monitor for laptops" |
62 |
SRC_URI="http://nis-www.lanl.gov/~mgh/WindowMaker/${P}.tar.gz" |
63 |
@@ -20,6 +20,19 @@ |
64 |
|
65 |
S=${WORKDIR}/${P}/${PN} |
66 |
|
67 |
+src_unpack() |
68 |
+{ |
69 |
+ unpack ${A} |
70 |
+ cd "${S}" |
71 |
+ |
72 |
+ #Respect LDFLAGS, see bug #334747 |
73 |
+ sed -i 's/ -o wmapm/ ${LDFLAGS} -o wmapm/' "Makefile" |
74 |
+} |
75 |
+ |
76 |
+src_compile() { |
77 |
+ emake COPTS="${CFLAGS}" || die "make failed" |
78 |
+} |
79 |
+ |
80 |
src_install() { |
81 |
dobin wmapm || die "dobin failed." |
82 |
doman wmapm.1 |