summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2005-07-11 15:08:07 +0000
committerSven Wegener <swegener@gentoo.org>2005-07-11 15:08:07 +0000
commit5ae303cb909c12d4905541dd2b1352e4cedb12a5 (patch)
treee613101366ec6305dbb6b6150d8dc0cf461f8b4c /eclass/php-ext.eclass
parentUpdate to support selinux USE flag (blame spb). (diff)
downloadgentoo-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/php-ext.eclass')
-rw-r--r--eclass/php-ext.eclass14
1 files changed, 6 insertions, 8 deletions
diff --git a/eclass/php-ext.eclass b/eclass/php-ext.eclass
index e7990ba916a1..f31442782c9e 100644
--- a/eclass/php-ext.eclass
+++ b/eclass/php-ext.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext.eclass,v 1.9 2005/07/06 20:23:20 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/php-ext.eclass,v 1.10 2005/07/11 15:08:06 swegener Exp $
#
# Author: Tal Peer <coredumb@gentoo.org>
#
@@ -30,7 +30,7 @@ DEPEND="${DEPEND}
>=sys-devel/m4-1.4
>=sys-devel/libtool-1.4.3"
-RDEPEND="${RDEPEND}
+RDEPEND="${RDEPEND}
virtual/php"
php-ext_buildinilist () {
@@ -39,7 +39,7 @@ php-ext_buildinilist () {
if [ -z "${PHPSAPILIST}" ]; then
PHPSAPILIST="apache1 apache2 cli"
fi
-
+
PHPINIFILELIST=""
for x in ${PHPSAPILIST} ; do
@@ -47,7 +47,7 @@ php-ext_buildinilist () {
PHPINIFILELIST="${PHPINIFILELIST} /etc/php/${x}-php4/php.ini"
fi
done
-
+
if [[ ${PHPINIFILELIST} = "" ]]; then
msg="No PHP ini files found for this extension"
eerror ${msg}
@@ -67,7 +67,7 @@ php-ext_src_compile() {
php-ext_src_install() {
chmod +x build/shtool
- #this will usually be /usr/lib/php/extensions/no-debug-no-zts-20020409/
+ #this will usually be /usr/lib/php/extensions/no-debug-no-zts-20020409/
#but i prefer not taking this risk
EXT_DIR="`php-config --extension-dir 2>/dev/null`"
insinto $EXT_DIR
@@ -103,7 +103,7 @@ php-ext_addextension () {
php-ext_addextensiontoinifile "$ext" "$1" "$x"
done
}
-
+
php-ext_setting_is_present () {
grep "^$1=" $2 > /dev/null 2>&1
}
@@ -124,5 +124,3 @@ php-ext_addtoinifiles () {
php-ext_addtoinifile $1 $2 $x
done
}
-
-