diff options
author | Luca Longinotti <chtekk@gentoo.org> | 2006-08-07 07:10:16 +0000 |
---|---|---|
committer | Luca Longinotti <chtekk@gentoo.org> | 2006-08-07 07:10:16 +0000 |
commit | 8ee13aa5a2541033d8c024ff3ff9661151d71dc9 (patch) | |
tree | f18e72c6ead8124d1d0d5b5a7bb00e8257ed05b2 | |
parent | Added call to intltoolize to fix 'make check' error message (bug #142908). (diff) | |
download | historical-8ee13aa5a2541033d8c024ff3ff9661151d71dc9.tar.gz historical-8ee13aa5a2541033d8c024ff3ff9661151d71dc9.tar.bz2 historical-8ee13aa5a2541033d8c024ff3ff9661151d71dc9.zip |
Fix binary extension checks wrt concurrentmodphp.
-rw-r--r-- | eclass/depend.php.eclass | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/eclass/depend.php.eclass b/eclass/depend.php.eclass index c917b41a8f27..dc3862d5b525 100644 --- a/eclass/depend.php.eclass +++ b/eclass/depend.php.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/depend.php.eclass,v 1.15 2006/05/13 15:39:11 chtekk Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/depend.php.eclass,v 1.16 2006/08/07 07:10:16 chtekk Exp $ # # ======================================================================== # @@ -521,7 +521,8 @@ php_binary_extension() { # Binary extensions do not support the change of PHP # API version, so they can't be installed when USE flags - # are enabled wich change the PHP API version + # are enabled which change the PHP API version, they also + # don't provide correctly versioned symbols for our use if built_with_use =${PHP_PKG} hardenedphp || phpconfutils_built_with_use =${PHP_PKG} hardenedphp ; then eerror @@ -543,8 +544,18 @@ php_binary_extension() { PUSE_ENABLED="1" fi + if built_with_use =${PHP_PKG} concurrentmodphp || phpconfutils_built_with_use =${PHP_PKG} concurrentmodphp ; then + eerror + eerror "You cannot install binary PHP extensions when" + eerror "the 'concurrentmodphp' USE flag is enabled!" + eerror "Please reemerge dev-lang/php with the" + eerror "'concurrentmodphp' USE flag turned off." + eerror + PUSE_ENABLED="1" + fi + if [[ -n ${PUSE_ENABLED} ]] ; then - die "'hardenedphp' and/or 'debug' USE flags turned on" + die "'hardenedphp' and/or 'debug' and/or 'concurrentmodphp' USE flags turned on!" fi } |