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
commit92299a2cbcb5173a989fbbe0713958fd33332c2c (patch)
tree38ce72b273156c7cedf2fbfe3125284658845934 /eclass
parentnew ebuild (diff)
downloadhistorical-92299a2cbcb5173a989fbbe0713958fd33332c2c.tar.gz
historical-92299a2cbcb5173a989fbbe0713958fd33332c2c.tar.bz2
historical-92299a2cbcb5173a989fbbe0713958fd33332c2c.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