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-r1.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-r1.eclass')
-rw-r--r-- | eclass/php5-sapi-r1.eclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/php5-sapi-r1.eclass b/eclass/php5-sapi-r1.eclass index 9031a16ec124..cadb88ba1ed8 100644 --- a/eclass/php5-sapi-r1.eclass +++ b/eclass/php5-sapi-r1.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-r1.eclass,v 1.14 2005/07/13 05:24:52 sebastian Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi-r1.eclass,v 1.15 2005/07/13 05:36:32 sebastian Exp $ # # eclass/php5-sapi-r1.eclass # Eclass for building different php5 SAPI instances @@ -430,6 +430,10 @@ php5-sapi-r1_src_compile() { # optimization/setting stuff my_conf="${my_conf} --enable-versioning" + if [ "${PHPSAPI}" != "cli" ]; then + my_conf="${my_conf} --disable-cli" + fi + # all done econf ${my_conf} || die "configure failed" |