diff options
author | Ole Markus With <olemarkus@gentoo.org> | 2010-10-02 15:23:57 +0000 |
---|---|---|
committer | Ole Markus With <olemarkus@gentoo.org> | 2010-10-02 15:23:57 +0000 |
commit | 233af827b4539bb6796fe93ab95d5c6c602e4b44 (patch) | |
tree | ec079774bbbf096fd2424819bf39958307085433 /eclass/depend.php.eclass | |
parent | Update EAPI. Fix dependencies. Restrict tests (bug #339409). Avoid breaking s... (diff) | |
download | gentoo-2-233af827b4539bb6796fe93ab95d5c6c602e4b44.tar.gz gentoo-2-233af827b4539bb6796fe93ab95d5c6c602e4b44.tar.bz2 gentoo-2-233af827b4539bb6796fe93ab95d5c6c602e4b44.zip |
Added warning about using require_php_with_use reflection|pcre|spl
Diffstat (limited to 'eclass/depend.php.eclass')
-rw-r--r-- | eclass/depend.php.eclass | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/eclass/depend.php.eclass b/eclass/depend.php.eclass index 8e6d4fc0b5c7..3424ad9de670 100644 --- a/eclass/depend.php.eclass +++ b/eclass/depend.php.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/depend.php.eclass,v 1.26 2010/07/13 23:48:46 mabi Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/depend.php.eclass,v 1.27 2010/10/02 15:23:57 olemarkus Exp $ # Author: Stuart Herbert <stuart@gentoo.org> # Author: Luca Longinotti <chtekk@gentoo.org> @@ -207,6 +207,15 @@ require_php_with_use() { einfo "Checking for required PHP feature(s) ..." for x in $@ ; do + case $x in + pcre|spl|reflection) + eqawarn "require_php_with_use MUST NOT check for the pcre, spl or reflection USE flag." + eqawarn "These USE flags are removed from >=dev-lang/php-5.3 and your ebuild will break" + eqawarn "if you check the USE flags against PHP 5.3 ebuilds." + eqawarn "Please use USE dependencies from EAPI 2 instead" + ;; + esac + if ! built_with_use =${PHP_PKG} ${x} && ! phpconfutils_built_with_use =${PHP_PKG} ${x} ; then einfo " Discovered missing USE flag: ${x}" missing_use="${missing_use} ${x}" |