diff options
author | Sebastian Bergmann <sebastian@gentoo.org> | 2005-07-13 05:36:32 +0000 |
---|---|---|
committer | Sebastian Bergmann <sebastian@gentoo.org> | 2005-07-13 05:36:32 +0000 |
commit | d515129bb13b0b6fb3d50fe25b40ceb1818c48ca (patch) | |
tree | 24bd6d55f7dc790b1e2cdbc30b806a47feafa6f1 /eclass/php5-sapi-r3.eclass | |
parent | removing mips keyword, as accessibility is masked (diff) | |
download | gentoo-2-d515129bb13b0b6fb3d50fe25b40ceb1818c48ca.tar.gz gentoo-2-d515129bb13b0b6fb3d50fe25b40ceb1818c48ca.tar.bz2 gentoo-2-d515129bb13b0b6fb3d50fe25b40ceb1818c48ca.zip |
Sync PHP 5 eclasses with PHP 4 ebuilds: Do not build PHP CLI binary for mod_php package.
Diffstat (limited to 'eclass/php5-sapi-r3.eclass')
-rw-r--r-- | eclass/php5-sapi-r3.eclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/php5-sapi-r3.eclass b/eclass/php5-sapi-r3.eclass index 756e493f98a0..8521cf681c3c 100644 --- a/eclass/php5-sapi-r3.eclass +++ b/eclass/php5-sapi-r3.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi-r3.eclass,v 1.15 2005/07/13 05:24:52 sebastian Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi-r3.eclass,v 1.16 2005/07/13 05:36:32 sebastian Exp $ # # ######################################################################## # @@ -482,6 +482,10 @@ php5-sapi-r3_src_compile() { my_conf="${my_conf} --with-pic" fi + if [ "${PHPSAPI}" != "cli" ]; then + my_conf="${my_conf} --disable-cli" + fi + # all done econf ${my_conf} || die "configure failed" |