diff options
author | Luca Longinotti <chtekk@gentoo.org> | 2007-05-13 20:11:37 +0000 |
---|---|---|
committer | Luca Longinotti <chtekk@gentoo.org> | 2007-05-13 20:11:37 +0000 |
commit | 74be745c0588e2315ab666cc9be9a7dfe89c1255 (patch) | |
tree | b15df1f5520f04746276b069ca30136a55e4ea11 /eclass | |
parent | ia64 + x86 stable wrt bug 178346 (diff) | |
download | historical-74be745c0588e2315ab666cc9be9a7dfe89c1255.tar.gz historical-74be745c0588e2315ab666cc9be9a7dfe89c1255.tar.bz2 historical-74be745c0588e2315ab666cc9be9a7dfe89c1255.zip |
Fix setting of Apache variables in need_apache (2nd part of fix for #178380).
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/depend.apache.eclass | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/eclass/depend.apache.eclass b/eclass/depend.apache.eclass index a6cb36277d64..ac0a78a4a463 100644 --- a/eclass/depend.apache.eclass +++ b/eclass/depend.apache.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/depend.apache.eclass,v 1.31 2007/05/12 03:47:35 chtekk Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/depend.apache.eclass,v 1.32 2007/05/13 20:11:37 chtekk Exp $ inherit multilib @@ -226,7 +226,7 @@ need_apache2_2() { need_apache() { debug-print-function $FUNCNAME $* - local supports20 supports22 supports2x + local supports2x supports20 supports22 if [[ $# -eq 0 ]] ; then supports2x="yes" @@ -242,7 +242,7 @@ need_apache() { fi if [[ "${supports20}" == "yes" ]] && [[ "${supports22}" == "yes" ]] ; then - supports2x="yes"; + supports2x="yes" fi debug-print "supports20: ${supports20}" @@ -256,6 +256,8 @@ need_apache() { elif [[ "${supports22}" == "yes" ]] ; then need_apache2_2 fi + + uses_apache2 } want_apache() { |