1 |
jokey 08/03/03 17:05:07 |
2 |
|
3 |
Modified: php-common-r1.eclass |
4 |
Log: |
5 |
Some cleanups from project overlay |
6 |
|
7 |
Revision Changes Path |
8 |
1.13 eclass/php-common-r1.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/php-common-r1.eclass?rev=1.13&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/php-common-r1.eclass?rev=1.13&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/php-common-r1.eclass?r1=1.12&r2=1.13 |
13 |
|
14 |
Index: php-common-r1.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/php-common-r1.eclass,v |
17 |
retrieving revision 1.12 |
18 |
retrieving revision 1.13 |
19 |
diff -u -r1.12 -r1.13 |
20 |
--- php-common-r1.eclass 29 Nov 2007 23:11:04 -0000 1.12 |
21 |
+++ php-common-r1.eclass 3 Mar 2008 17:05:06 -0000 1.13 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2007 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/php-common-r1.eclass,v 1.12 2007/11/29 23:11:04 jokey Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-common-r1.eclass,v 1.13 2008/03/03 17:05:06 jokey Exp $ |
27 |
|
28 |
# Based on robbat2's work on the php4 sapi eclass |
29 |
# Based on stuart's work on the php5 sapi eclass |
30 |
@@ -20,18 +20,9 @@ |
31 |
# ======================================================================== |
32 |
|
33 |
php_check_cflags() { |
34 |
- # Filter the following from C[XX]FLAGS regardless, as apache won't be |
35 |
- # supporting LFS until 2.2 is released and in the tree. Fixes bug #24373. |
36 |
- filter-flags "-D_FILE_OFFSET_BITS=64" |
37 |
- filter-flags "-D_FILE_OFFSET_BITS=32" |
38 |
- filter-flags "-D_LARGEFILE_SOURCE=1" |
39 |
- filter-flags "-D_LARGEFILE_SOURCE" |
40 |
- |
41 |
# Fixes bug #14067. |
42 |
# Changed order to run it in reverse for bug #32022 and #12021. |
43 |
- replace-flags "-march=k6-3" "-march=i586" |
44 |
- replace-flags "-march=k6-2" "-march=i586" |
45 |
- replace-flags "-march=k6" "-march=i586" |
46 |
+ replace-cpu-flags "k6*" "i586" |
47 |
} |
48 |
|
49 |
# ======================================================================== |
50 |
@@ -58,6 +49,15 @@ |
51 |
die "Please recompile the IMAP C-Client libraries with SSL support disabled" |
52 |
fi |
53 |
fi |
54 |
+ |
55 |
+ if use "kolab" || phpconfutils_usecheck "kolab" ; then |
56 |
+ if ! built_with_use net-libs/c-client kolab ; then |
57 |
+ eerror |
58 |
+ eerror "IMAP with annotations support requested, but net-libs/c-client is built without it!" |
59 |
+ eerror |
60 |
+ die "Please recompile net-libs/c-client with USE=kolab." |
61 |
+ fi |
62 |
+ fi |
63 |
} |
64 |
|
65 |
# ======================================================================== |
66 |
|
67 |
|
68 |
|
69 |
-- |
70 |
gentoo-commits@l.g.o mailing list |