diff options
author | Sven Wegener <swegener@gentoo.org> | 2005-07-11 15:08:07 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2005-07-11 15:08:07 +0000 |
commit | 5ae303cb909c12d4905541dd2b1352e4cedb12a5 (patch) | |
tree | e613101366ec6305dbb6b6150d8dc0cf461f8b4c /eclass/php5-sapi-r2.eclass | |
parent | Update to support selinux USE flag (blame spb). (diff) | |
download | gentoo-2-5ae303cb909c12d4905541dd2b1352e4cedb12a5.tar.gz gentoo-2-5ae303cb909c12d4905541dd2b1352e4cedb12a5.tar.bz2 gentoo-2-5ae303cb909c12d4905541dd2b1352e4cedb12a5.zip |
QA: Apply whitespace checks from repoman to eclasses.
Diffstat (limited to 'eclass/php5-sapi-r2.eclass')
-rw-r--r-- | eclass/php5-sapi-r2.eclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/php5-sapi-r2.eclass b/eclass/php5-sapi-r2.eclass index 5665e0e211f4..d6a5b04c014e 100644 --- a/eclass/php5-sapi-r2.eclass +++ b/eclass/php5-sapi-r2.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-r2.eclass,v 1.25 2005/07/10 13:34:05 sebastian Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi-r2.eclass,v 1.26 2005/07/11 15:08:06 swegener Exp $ # # eclass/php5-sapi-r2.eclass # Eclass for building different php5 SAPI instances @@ -307,7 +307,7 @@ php5-sapi-r2_check_awkward_uses() { # GD library support confutils_use_depend_any "truetype" "gd" "gd-external" - + # ldap support confutils_use_depend_all "sasl" "ldap" @@ -493,7 +493,7 @@ php5-sapi-r2_src_compile() { php5-sapi-r2_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" @@ -504,7 +504,7 @@ php5-sapi-r2_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 @@ -516,7 +516,7 @@ php5-sapi-r2_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 |