diff options
author | Sebastian Bergmann <sebastian@gentoo.org> | 2005-05-21 05:17:02 +0000 |
---|---|---|
committer | Sebastian Bergmann <sebastian@gentoo.org> | 2005-05-21 05:17:02 +0000 |
commit | aecd3fa0f3534a645cbd775633030fe7d4fdaf28 (patch) | |
tree | 9c24c09b7ccc6567e2bf689493f5a91f31b84ef5 /dev-php/eaccelerator | |
parent | Remove old versions. (diff) | |
download | gentoo-2-aecd3fa0f3534a645cbd775633030fe7d4fdaf28.tar.gz gentoo-2-aecd3fa0f3534a645cbd775633030fe7d4fdaf28.tar.bz2 gentoo-2-aecd3fa0f3534a645cbd775633030fe7d4fdaf28.zip |
Use apache2 USE flag.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-php/eaccelerator')
-rw-r--r-- | dev-php/eaccelerator/ChangeLog | 6 | ||||
-rw-r--r-- | dev-php/eaccelerator/eaccelerator-0.9.3.ebuild | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/dev-php/eaccelerator/ChangeLog b/dev-php/eaccelerator/ChangeLog index 78a7f673570c..f582b46e91ac 100644 --- a/dev-php/eaccelerator/ChangeLog +++ b/dev-php/eaccelerator/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-php/eaccelerator # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php/eaccelerator/ChangeLog,v 1.7 2005/05/19 09:10:56 sebastian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php/eaccelerator/ChangeLog,v 1.8 2005/05/21 05:17:02 sebastian Exp $ + + 21 May 2005; Sebastian Bergmann <sebastian@gentoo.org> + eaccelerator-0.9.3.ebuild: + Use apache2 USE flag. *eaccelerator-0.9.3 (19 May 2005) diff --git a/dev-php/eaccelerator/eaccelerator-0.9.3.ebuild b/dev-php/eaccelerator/eaccelerator-0.9.3.ebuild index 49cfc6cad40c..64ddcf4f7d32 100644 --- a/dev-php/eaccelerator/eaccelerator-0.9.3.ebuild +++ b/dev-php/eaccelerator/eaccelerator-0.9.3.ebuild @@ -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/dev-php/eaccelerator/eaccelerator-0.9.3.ebuild,v 1.1 2005/05/19 09:10:56 sebastian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php/eaccelerator/eaccelerator-0.9.3.ebuild,v 1.2 2005/05/21 05:17:02 sebastian Exp $ PHP_EXT_NAME="eaccelerator" PHP_EXT_ZENDEXT="yes" @@ -10,7 +10,7 @@ inherit php-ext-source DESCRIPTION="A PHP Accelerator & Encoder." HOMEPAGE="http://www.eaccelerator.net/" SRC_URI="mirror://sourceforge/eaccelerator/${P}.tar.gz" -IUSE="inode session" +IUSE="apache2 inode session" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64 ~sparc" @@ -25,7 +25,7 @@ src_compile() { # eAccelerator does not work with Zend Thread Safety (ZTS) # so about if we are using Apache 2 with an MPM that would # require ZTS. - if has_version '>=net-www/apache-2*'; then + if use apache2; then APACHE2_MPM="`/usr/sbin/apache2 -l | egrep 'worker|perchild|leader|threadpool|prefork'|cut -d. -f1|sed -e 's/^[[:space:]]*//g;s/[[:space:]]+/ /g;'`" case "${APACHE2_MPM}" in *prefork*) ;; |