summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2003-06-19 04:10:44 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2003-06-19 04:10:44 +0000
commit8e747f1089e3b9e51d3edb43b4178be460ae806e (patch)
treef475937cfe64604173e8f7e74645ea5f1bda4185 /eclass/php.eclass
parentfix dev-php/* stuff with gd (diff)
downloadgentoo-2-8e747f1089e3b9e51d3edb43b4178be460ae806e.tar.gz
gentoo-2-8e747f1089e3b9e51d3edb43b4178be460ae806e.tar.bz2
gentoo-2-8e747f1089e3b9e51d3edb43b4178be460ae806e.zip
add pcntl, gd changes
Diffstat (limited to 'eclass/php.eclass')
-rw-r--r--eclass/php.eclass9
1 files changed, 5 insertions, 4 deletions
diff --git a/eclass/php.eclass b/eclass/php.eclass
index 5c0d49535b26..62ee209414ff 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.51 2003/06/17 18:51:05 rac Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php.eclass,v 1.52 2003/06/19 04:10:44 robbat2 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
@@ -256,10 +256,10 @@ php_src_compile() {
myconf="${myconf} `use_enable memlimit memory-limit`"
myconf="${myconf} `use_enable cjk mbstring` `use_enable cjk mbregex`"
- if [ `use gd-bundled` ] ; then
- myconf="${myconf} --with-gd"
- elif [ `use gd` ] ; then
+ if [ -n "`use gd-external`" ] ; then
myconf="${myconf} --with-gd=/usr"
+ elif [ -n "`use gd`" ] ; then
+ myconf="${myconf} --with-gd"
else
myconf="${myconf} --without-gd"
fi
@@ -310,6 +310,7 @@ php_src_compile() {
myconf="${myconf} --with-ndbm --with-cdb"
# No DEPENDancies
+ mycony="${myconf} --enable-pcntl"
myconf="${myconf} --enable-bcmath"
myconf="${myconf} --enable-calendar"
myconf="${myconf} --enable-dbase"