summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/b2evolution/b2evolution-0.9.1.ebuild')
-rw-r--r--www-apps/b2evolution/b2evolution-0.9.1.ebuild14
1 files changed, 12 insertions, 2 deletions
diff --git a/www-apps/b2evolution/b2evolution-0.9.1.ebuild b/www-apps/b2evolution/b2evolution-0.9.1.ebuild
index 5995597103d1..c2455c467322 100644
--- a/www-apps/b2evolution/b2evolution-0.9.1.ebuild
+++ b/www-apps/b2evolution/b2evolution-0.9.1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/b2evolution/b2evolution-0.9.1.ebuild,v 1.7 2006/07/24 16:04:01 dsd Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/b2evolution/b2evolution-0.9.1.ebuild,v 1.8 2006/11/18 21:33:31 dsd Exp $
-inherit webapp eutils
+inherit depend.php eutils webapp
MY_EXT="b-2005-09-16"
@@ -20,6 +20,16 @@ DEPEND="${DEPEND} ${RDEPEND}
S="${WORKDIR}/${PN}"
+pkg_setup() {
+ webapp_pkg_setup
+ has_php
+ if [[ ${PHP_VERSION} == "4" ]]; then
+ require_php_with_use expat
+ else
+ require_php_with_use xml
+ fi
+}
+
src_install() {
webapp_src_preinst