1 |
dertobi123 08/11/28 21:37:25 |
2 |
|
3 |
Modified: ChangeLog procmail-3.22-r9.ebuild |
4 |
Log: |
5 |
Don't epatch in src_compile |
6 |
(Portage version: 2.2_rc16/cvs/Linux 2.6.25-gentoo-r7 x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.30 mail-filter/procmail/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/procmail/ChangeLog?rev=1.30&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/procmail/ChangeLog?rev=1.30&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/procmail/ChangeLog?r1=1.29&r2=1.30 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/mail-filter/procmail/ChangeLog,v |
18 |
retrieving revision 1.29 |
19 |
retrieving revision 1.30 |
20 |
diff -u -r1.29 -r1.30 |
21 |
--- ChangeLog 15 Jun 2008 10:22:20 -0000 1.29 |
22 |
+++ ChangeLog 28 Nov 2008 21:37:25 -0000 1.30 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for mail-filter/procmail |
25 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/procmail/ChangeLog,v 1.29 2008/06/15 10:22:20 dertobi123 Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/procmail/ChangeLog,v 1.30 2008/11/28 21:37:25 dertobi123 Exp $ |
28 |
+ |
29 |
+ 28 Nov 2008; Tobias Scherbaum <dertobi123@g.o> |
30 |
+ procmail-3.22-r9.ebuild: |
31 |
+ Don't epatch in src_compile |
32 |
|
33 |
*procmail-3.22-r9 (15 Jun 2008) |
34 |
|
35 |
|
36 |
|
37 |
|
38 |
1.2 mail-filter/procmail/procmail-3.22-r9.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/procmail/procmail-3.22-r9.ebuild?rev=1.2&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/procmail/procmail-3.22-r9.ebuild?rev=1.2&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/mail-filter/procmail/procmail-3.22-r9.ebuild?r1=1.1&r2=1.2 |
43 |
|
44 |
Index: procmail-3.22-r9.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/mail-filter/procmail/procmail-3.22-r9.ebuild,v |
47 |
retrieving revision 1.1 |
48 |
retrieving revision 1.2 |
49 |
diff -u -r1.1 -r1.2 |
50 |
--- procmail-3.22-r9.ebuild 15 Jun 2008 10:22:20 -0000 1.1 |
51 |
+++ procmail-3.22-r9.ebuild 28 Nov 2008 21:37:25 -0000 1.2 |
52 |
@@ -1,6 +1,6 @@ |
53 |
# Copyright 1999-2008 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/procmail/procmail-3.22-r9.ebuild,v 1.1 2008/06/15 10:22:20 dertobi123 Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/procmail/procmail-3.22-r9.ebuild,v 1.2 2008/11/28 21:37:25 dertobi123 Exp $ |
57 |
|
58 |
inherit eutils flag-o-matic |
59 |
|
60 |
@@ -18,15 +18,9 @@ |
61 |
selinux? ( sec-policy/selinux-procmail )" |
62 |
PROVIDE="virtual/mda" |
63 |
|
64 |
-src_compile() { |
65 |
- # -finline-functions (implied by -O3) leaves strstr() in an infinite loop. |
66 |
- # To work around this, we append -fno-inline-functions to CFLAGS |
67 |
- append-flags -fno-inline-functions |
68 |
- |
69 |
- sed -e "s:CFLAGS0 = -O:CFLAGS0 = ${CFLAGS}:" \ |
70 |
- -e "s:LOCKINGTEST=__defaults__:#LOCKINGTEST=__defaults__:" \ |
71 |
- -e "s:#LOCKINGTEST=/tmp:LOCKINGTEST=/tmp:" \ |
72 |
- -i Makefile || die "sed failed" |
73 |
+src_unpack() { |
74 |
+ unpack ${A} |
75 |
+ cd "${S}" |
76 |
|
77 |
# disable flock, using both fcntl and flock style locking |
78 |
# doesn't work with NFS with 2.6.17+ kernels, bug #156493 |
79 |
@@ -55,6 +49,17 @@ |
80 |
|
81 |
# Fix for bug #200006 |
82 |
epatch "${FILESDIR}/${PN}-pipealloc.diff" |
83 |
+} |
84 |
+ |
85 |
+src_compile() { |
86 |
+ # -finline-functions (implied by -O3) leaves strstr() in an infinite loop. |
87 |
+ # To work around this, we append -fno-inline-functions to CFLAGS |
88 |
+ append-flags -fno-inline-functions |
89 |
+ |
90 |
+ sed -e "s:CFLAGS0 = -O:CFLAGS0 = ${CFLAGS}:" \ |
91 |
+ -e "s:LOCKINGTEST=__defaults__:#LOCKINGTEST=__defaults__:" \ |
92 |
+ -e "s:#LOCKINGTEST=/tmp:LOCKINGTEST=/tmp:" \ |
93 |
+ -i Makefile || die "sed failed" |
94 |
|
95 |
emake || die |
96 |
} |