summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2010-12-27 22:19:51 +0000
committerJeremy Olexa <darkside@gentoo.org>2010-12-27 22:19:51 +0000
commit853ff6e5991fdb6dd9e900182d471615013068c4 (patch)
tree21a0448b10e0ed29b9ed5b47e8cf08a6ee385d63 /eclass
parentUse Python 2 (bug #308319). (diff)
downloadgentoo-2-853ff6e5991fdb6dd9e900182d471615013068c4.tar.gz
gentoo-2-853ff6e5991fdb6dd9e900182d471615013068c4.tar.bz2
gentoo-2-853ff6e5991fdb6dd9e900182d471615013068c4.zip
whitespace and typo fix
Diffstat (limited to 'eclass')
-rw-r--r--eclass/php-ext-source-r2.eclass16
1 files changed, 8 insertions, 8 deletions
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