summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@gentoo.org>2005-04-10 14:55:35 +0000
committerSebastian Bergmann <sebastian@gentoo.org>2005-04-10 14:55:35 +0000
commitfda357d89f5f1dcbfd3d6c8139761d26ce189110 (patch)
tree6b0d4fd4b50582a771af512877c385e20160ee9e /dev-php/eaccelerator
parentCorrect country code for dutch category description. (diff)
downloadgentoo-2-fda357d89f5f1dcbfd3d6c8139761d26ce189110.tar.gz
gentoo-2-fda357d89f5f1dcbfd3d6c8139761d26ce189110.tar.bz2
gentoo-2-fda357d89f5f1dcbfd3d6c8139761d26ce189110.zip
Disable eAccelerator session management when PHP is built without Session support (USE=-session).
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-php/eaccelerator')
-rw-r--r--dev-php/eaccelerator/ChangeLog7
-rw-r--r--dev-php/eaccelerator/eaccelerator-0.9.2a.ebuild9
2 files changed, 13 insertions, 3 deletions
diff --git a/dev-php/eaccelerator/ChangeLog b/dev-php/eaccelerator/ChangeLog
index bcbcbac0abe8..c466c1256229 100644
--- a/dev-php/eaccelerator/ChangeLog
+++ b/dev-php/eaccelerator/ChangeLog
@@ -1,6 +1,11 @@
# 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.5 2005/03/19 23:02:35 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/eaccelerator/ChangeLog,v 1.6 2005/04/10 14:55:35 sebastian Exp $
+
+ 10 Apr 2005; Sebastian Bergmann <sebastian@gentoo.org>
+ eaccelerator-0.9.2a.ebuild:
+ Disable eAccelerator session management when PHP is built without Session
+ support (USE=-session).
19 Mar 2005; Jason Wever <weeve@gentoo.org> eaccelerator-0.9.2a.ebuild:
Stable on SPARC wrt bug #82670.
diff --git a/dev-php/eaccelerator/eaccelerator-0.9.2a.ebuild b/dev-php/eaccelerator/eaccelerator-0.9.2a.ebuild
index d5f09b5ab868..4bb037ecc8d2 100644
--- a/dev-php/eaccelerator/eaccelerator-0.9.2a.ebuild
+++ b/dev-php/eaccelerator/eaccelerator-0.9.2a.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.2a.ebuild,v 1.5 2005/03/19 23:02:35 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/eaccelerator/eaccelerator-0.9.2a.ebuild,v 1.6 2005/04/10 14:55:35 sebastian Exp $
PHP_EXT_NAME="eaccelerator"
PHP_EXT_ZENDEXT="yes"
@@ -11,7 +11,7 @@ DESCRIPTION="A PHP Accelerator & Encoder."
HOMEPAGE="http://www.eaccelerator.net/"
SRC_URI="mirror://sourceforge/eaccelerator/${P}.tar.gz"
S=${WORKDIR}/eaccelerator
-IUSE=""
+IUSE="session"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64 sparc"
@@ -35,6 +35,11 @@ src_compile() {
fi
myconf="--enable-eaccelerator=shared"
+
+ if use !session; then
+ myconf="${myconf} --without-eaccelerator-sessions"
+ fi
+
php-ext-source_src_compile
}