1 |
olemarkus 10/10/02 15:23:57 |
2 |
|
3 |
Modified: depend.php.eclass |
4 |
Log: |
5 |
Added warning about using require_php_with_use reflection|pcre|spl |
6 |
|
7 |
Revision Changes Path |
8 |
1.27 eclass/depend.php.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/depend.php.eclass?rev=1.27&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/depend.php.eclass?rev=1.27&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/depend.php.eclass?r1=1.26&r2=1.27 |
13 |
|
14 |
Index: depend.php.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/depend.php.eclass,v |
17 |
retrieving revision 1.26 |
18 |
retrieving revision 1.27 |
19 |
diff -u -r1.26 -r1.27 |
20 |
--- depend.php.eclass 13 Jul 2010 23:48:46 -0000 1.26 |
21 |
+++ depend.php.eclass 2 Oct 2010 15:23:57 -0000 1.27 |
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/depend.php.eclass,v 1.26 2010/07/13 23:48:46 mabi Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/depend.php.eclass,v 1.27 2010/10/02 15:23:57 olemarkus Exp $ |
27 |
|
28 |
# Author: Stuart Herbert <stuart@g.o> |
29 |
# Author: Luca Longinotti <chtekk@g.o> |
30 |
@@ -207,6 +207,15 @@ |
31 |
einfo "Checking for required PHP feature(s) ..." |
32 |
|
33 |
for x in $@ ; do |
34 |
+ case $x in |
35 |
+ pcre|spl|reflection) |
36 |
+ eqawarn "require_php_with_use MUST NOT check for the pcre, spl or reflection USE flag." |
37 |
+ eqawarn "These USE flags are removed from >=dev-lang/php-5.3 and your ebuild will break" |
38 |
+ eqawarn "if you check the USE flags against PHP 5.3 ebuilds." |
39 |
+ eqawarn "Please use USE dependencies from EAPI 2 instead" |
40 |
+ ;; |
41 |
+ esac |
42 |
+ |
43 |
if ! built_with_use =${PHP_PKG} ${x} && ! phpconfutils_built_with_use =${PHP_PKG} ${x} ; then |
44 |
einfo " Discovered missing USE flag: ${x}" |
45 |
missing_use="${missing_use} ${x}" |