summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTal Peer <coredumb@gentoo.org>2003-09-13 09:51:11 +0000
committerTal Peer <coredumb@gentoo.org>2003-09-13 09:51:11 +0000
commit54192e9e94e53aaa88f604b7e1fb965fcec23194 (patch)
tree8b3f3bfae05f3346d22201bd2d000716367f8060 /eclass
parentnew ebuild (diff)
downloadgentoo-2-54192e9e94e53aaa88f604b7e1fb965fcec23194.tar.gz
gentoo-2-54192e9e94e53aaa88f604b7e1fb965fcec23194.tar.bz2
gentoo-2-54192e9e94e53aaa88f604b7e1fb965fcec23194.zip
Add libxml dep for php5 builds
Diffstat (limited to 'eclass')
-rw-r--r--eclass/php.eclass9
1 files changed, 7 insertions, 2 deletions
diff --git a/eclass/php.eclass b/eclass/php.eclass
index a98cff43f4eb..b9f9107bae26 100644
--- a/eclass/php.eclass
+++ b/eclass/php.eclass
@@ -1,7 +1,7 @@
# Copyright 2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Author: Robin H. Johnson <robbat2@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/php.eclass,v 1.77 2003/08/28 05:52:17 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php.eclass,v 1.78 2003/09/13 09:51:11 coredumb Exp $
# This EBUILD is totally masked presently. Use it at your own risk. I know it
# is severely broken, but I needed to get a copy into CVS to pass around and
@@ -88,7 +88,12 @@ RDEPEND="
# libswf is ONLY available on x86
RDEPEND="${RDEPEND}
flash? ( x86? ( media-libs/libswf ) >=media-libs/ming-0.2a )"
-
+
+#The new XML extension in PHP5 requires libxml2-2.5.10
+if [ "${PV:0:1}" = "5" ]; then
+ RDEPEND="${RDEPEND}
+ >=dev-libs/libxml2-2.5.10"
+fi
# Testing per bug #13382
if runningunstable; then