diff options
author | Sven Wegener <swegener@gentoo.org> | 2007-01-01 22:27:01 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2007-01-01 22:27:01 +0000 |
commit | a71865ad64c0e272c3b3df2d75d9854716d0121d (patch) | |
tree | 176ed5f80d92a83bdfe87e84bb0790ca986fef19 /eclass/depend.apache.eclass | |
parent | Version bump (diff) | |
download | historical-a71865ad64c0e272c3b3df2d75d9854716d0121d.tar.gz historical-a71865ad64c0e272c3b3df2d75d9854716d0121d.tar.bz2 historical-a71865ad64c0e272c3b3df2d75d9854716d0121d.zip |
Apply whitespace checks from repoman to eclasses.
Diffstat (limited to 'eclass/depend.apache.eclass')
-rw-r--r-- | eclass/depend.apache.eclass | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/eclass/depend.apache.eclass b/eclass/depend.apache.eclass index 57db2a0c9fa9..7ce0b8e3eb45 100644 --- a/eclass/depend.apache.eclass +++ b/eclass/depend.apache.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/depend.apache.eclass,v 1.28 2006/11/26 21:25:28 vericgar Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/depend.apache.eclass,v 1.29 2007/01/01 22:27:01 swegener Exp $ inherit multilib @@ -101,7 +101,7 @@ APACHE2_2_DEPEND="=net-www/apache-2.2*" ## NEED_APACHE_DEPEND ## ## Dependency magic based on useflags to use the right DEPEND -## If you change this, please check the DEPENDS in need_apache() +## If you change this, please check the DEPENDS in need_apache() #### NEED_APACHE_DEPEND="apache2? ( ${APACHE2_DEPEND} ) !apache2? ( ${APACHE1_DEPEND} )" @@ -257,12 +257,12 @@ need_apache() { if [[ "${supports20}" == "yes" && "${supports22}" == "yes" ]]; then supports2x=yes; fi - + debug-print "supports13: ${supports13}" debug-print "supports20: ${supports20}" debug-print "supports22: ${supports22}" debug-print "supports2x: ${supports2x}" - + if [ "${supports13}" != "yes" ]; then if [ "${supports2x}" == "yes" ]; then need_apache2 @@ -272,7 +272,7 @@ need_apache() { need_apache2_2 fi elif [ "${supports13}" == "yes" ]; then - if [[ "${supports2x}" == "yes" || + if [[ "${supports2x}" == "yes" || "${supports20}" == "yes" || "${supports22}" == "yes" ]]; then @@ -288,10 +288,10 @@ need_apache() { NEED_APACHE_DEPEND="apache2? ( ${APACHE2_2_DEPEND} ) !apache2? ( ${APACHE1_DEPEND} )" fi fi - + DEPEND="${DEPEND} ${NEED_APACHE_DEPEND}" RDEPEND="${RDEPEND} ${NEED_APACHE_DEPEND}" - + if useq apache2; then uses_apache2 else |