summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2003-09-27 00:26:04 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2003-09-27 00:26:04 +0000
commita0b569a8646d45249e6a32a837d06b55117e0c36 (patch)
treecb926ed94413743189e4a341d16a492a1467ab14 /eclass/php.eclass
parentadd 2.60-r1 (diff)
downloadgentoo-2-a0b569a8646d45249e6a32a837d06b55117e0c36.tar.gz
gentoo-2-a0b569a8646d45249e6a32a837d06b55117e0c36.tar.bz2
gentoo-2-a0b569a8646d45249e6a32a837d06b55117e0c36.zip
improve curl support
Diffstat (limited to 'eclass/php.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 b9f9107bae26..618f29154e7f 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.78 2003/09/13 09:51:11 coredumb Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php.eclass,v 1.79 2003/09/27 00:26:04 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
@@ -315,12 +315,17 @@ php_src_compile() {
myconf="${myconf} `use_with nls gettext` `use_with qt qtdom`"
myconf="${myconf} `use_with spell pspell` `use_with ssl openssl`"
- myconf="${myconf} `use_with curl` `use_with imap` `use_with ldap`"
+ myconf="${myconf} `use_with imap` `use_with ldap`"
myconf="${myconf} `use_with xml2 dom` `use_with xml2 dom-xslt`"
myconf="${myconf} `use_with xml2 dom-exslt`"
myconf="${myconf} `use_with kerberos` `use_with pam`"
myconf="${myconf} `use_enable memlimit memory-limit`"
myconf="${myconf} `use_enable ipv6`"
+ if use curl; then
+ myconf="${myconf} --with-curlwrappers --with-curl"
+ else
+ myconf="${myconf} --without-curl"
+ fi
#Waiting for somebody to want Cyrus support :-)
#myconf="${myconf} `use_with cyrus`"