diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2003-09-27 00:26:04 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2003-09-27 00:26:04 +0000 |
commit | 510fe3c94b6209f2099336444b0e934f7e231b0b (patch) | |
tree | b8214b4cb0e62ea6a0e7496e71e076f5d68bea1b /eclass/php.eclass | |
parent | add 2.60-r1 (diff) | |
download | historical-510fe3c94b6209f2099336444b0e934f7e231b0b.tar.gz historical-510fe3c94b6209f2099336444b0e934f7e231b0b.tar.bz2 historical-510fe3c94b6209f2099336444b0e934f7e231b0b.zip |
improve curl support
Diffstat (limited to 'eclass/php.eclass')
-rw-r--r-- | eclass/php.eclass | 9 |
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`" |