| 1 | # Copyright 1999-2007 Gentoo Foundation |
1 | # Copyright 1999-2007 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/eclass/depend.php.eclass,v 1.27 2010/10/02 15:23:57 olemarkus Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/depend.php.eclass,v 1.28 2010/10/12 19:34:49 olemarkus Exp $ |
| 4 | |
4 | |
| 5 | # Author: Stuart Herbert <stuart@gentoo.org> |
5 | # Author: Stuart Herbert <stuart@gentoo.org> |
| 6 | # Author: Luca Longinotti <chtekk@gentoo.org> |
6 | # Author: Luca Longinotti <chtekk@gentoo.org> |
| 7 | # Author: Jakub Moc <jakub@gentoo.org> (documentation) |
7 | # Author: Jakub Moc <jakub@gentoo.org> (documentation) |
| 8 | |
8 | |
| … | |
… | |
| 206 | |
206 | |
| 207 | einfo "Checking for required PHP feature(s) ..." |
207 | einfo "Checking for required PHP feature(s) ..." |
| 208 | |
208 | |
| 209 | for x in $@ ; do |
209 | for x in $@ ; do |
| 210 | case $x in |
210 | case $x in |
| 211 | pcre|spl|reflection) |
211 | pcre|spl|reflection|mhash) |
| 212 | eqawarn "require_php_with_use MUST NOT check for the pcre, spl or reflection USE flag." |
212 | eqawarn "require_php_with_use MUST NOT check for the pcre, spl, mhash or reflection USE flag." |
| 213 | eqawarn "These USE flags are removed from >=dev-lang/php-5.3 and your ebuild will break" |
213 | eqawarn "These USE flags are removed from >=dev-lang/php-5.3 and your ebuild will break" |
| 214 | eqawarn "if you check the USE flags against PHP 5.3 ebuilds." |
214 | eqawarn "if you check the USE flags against PHP 5.3 ebuilds." |
| 215 | eqawarn "Please use USE dependencies from EAPI 2 instead" |
215 | eqawarn "Please use USE dependencies from EAPI 2 instead" |
| 216 | ;; |
216 | ;; |
| 217 | esac |
217 | esac |