diff options
Diffstat (limited to 'eclass/php5-sapi-r3.eclass')
-rw-r--r-- | eclass/php5-sapi-r3.eclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/php5-sapi-r3.eclass b/eclass/php5-sapi-r3.eclass index 0c0896333129..e509c4ace1a0 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.13 2005/07/10 13:34:05 sebastian Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi-r3.eclass,v 1.14 2005/07/11 15:08:06 swegener Exp $ # # ######################################################################## # @@ -315,7 +315,7 @@ php5-sapi-r3_check_awkward_uses() { # GD library support confutils_use_depend_any "truetype" "gd" "gd-external" - + # ldap support confutils_use_depend_all "sasl" "ldap" @@ -491,7 +491,7 @@ php5-sapi-r3_src_compile() { php5-sapi-r3_src_install() { cd ${PHP_S} addpredict /usr/share/snmp/mibs/.index - + useq sharedext && PHP_INSTALLTARGETS="${PHP_INSTALLTARGETS} install-modules" make INSTALL_ROOT=${D} $PHP_INSTALLTARGETS || die "install failed" @@ -502,7 +502,7 @@ php5-sapi-r3_src_install() { local phpinisrc=php.ini-dist einfo "Setting extension_dir in php.ini" sed -e "s|^extension_dir .*$|extension_dir = ${PHPEXTDIR}|g" -i ${phpinisrc} - + # A patch for PHP for security. PHP-CLI interface is exempt, as it cannot be # fed bad data from outside. if [ "${PHPSAPI}" != "cli" ]; then @@ -514,7 +514,7 @@ php5-sapi-r3_src_install() { sed -e 's|^;include_path .*|include_path = ".:/usr/lib/php"|' -i ${phpinisrc} if useq sharedext; then - for x in `ls ${D}${PHPEXTDIR}/*.so | sort`; do + for x in `ls ${D}${PHPEXTDIR}/*.so | sort`; do echo "extension=`basename ${x}`" >> ${phpinisrc} done; fi |