From 853ff6e5991fdb6dd9e900182d471615013068c4 Mon Sep 17 00:00:00 2001 From: Jeremy Olexa <darkside@gentoo.org> Date: Mon, 27 Dec 2010 22:19:51 +0000 Subject: whitespace and typo fix --- eclass/php-ext-source-r2.eclass | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'eclass/php-ext-source-r2.eclass') diff --git a/eclass/php-ext-source-r2.eclass b/eclass/php-ext-source-r2.eclass index f143acf1efad..2fa12528f41f 100644 --- a/eclass/php-ext-source-r2.eclass +++ b/eclass/php-ext-source-r2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.5 2010/11/03 22:47:19 olemarkus Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext-source-r2.eclass,v 1.6 2010/12/27 22:19:51 darkside Exp $ # # Author: Tal Peer <coredumb@gentoo.org> # Author: Stuart Herbert <stuart@gentoo.org> @@ -69,11 +69,11 @@ for target in ${USE_PHP}; do SELFDEPEND="${SELFDEPEND} =${CATEGORY}/${PF}[php_targets_${target}]" slot=${target/php} slot=${slot/-/.} - PHPDEPEND="${PHPDEPEND} + PHPDEPEND="${PHPDEPEND} php_targets_${target}? ( dev-lang/php:${slot} )" done - -RDEPEND="${RDEPEND} + +RDEPEND="${RDEPEND} || ( ${SELFDEPEND} ) ${PHPDEPEND}" @@ -85,7 +85,7 @@ RDEPEND="${RDEPEND} # @VARIABLE: PHP_EXT_SKIP_PHPIZE # @DESCRIPTION: # phpize will be run by default for all ebuilds that use -# php-ext-source-r1_src_unpack +# php-ext-source-r2_src_unpack # Set PHP_EXT_SKIP_PHPIZE="yes" in your ebuild if you do not want to run phpize. php-ext-source-r2_src_unpack() { unpack ${A} @@ -116,7 +116,7 @@ php-ext-source-r2_phpize() { # files (bug 220519) rm aclocal.m4 eautoreconf - fi + fi } # @FUNCTION: php-ext-source-r2_src_configure @@ -145,7 +145,7 @@ php-ext-source-r2_src_compile() { addpredict /usr/share/snmp/mibs/.index # shm extension createss a semaphore file #173574 addpredict /session_mm_cli0.sem - local slot + local slot for slot in $(php_get_slots); do php_init_slot_env ${slot} emake || die "Unable to make code" @@ -223,7 +223,7 @@ php-ext-source-r2_buildinilist() { # Builds ini files for every enabled slot and SAPI php-ext-source-r2_createinifiles() { local slot - for slot in $(php_get_slots); do + for slot in $(php_get_slots); do php_init_slot_env ${slot} # Pull in the PHP settings -- cgit v1.2.3-65-gdbad