/[gentoo-x86]/eclass/depend.apache.eclass
Gentoo

Diff of /eclass/depend.apache.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.12 Revision 1.13
1# Copyright 2004-2005 Gentoo Foundation 1# Copyright 2004-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License, v2 or later 2# Distributed under the terms of the GNU General Public License, v2 or later
3# $Header: /var/cvsroot/gentoo-x86/eclass/depend.apache.eclass,v 1.12 2005/03/04 12:39:28 eradicator Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/depend.apache.eclass,v 1.13 2005/03/14 10:42:28 stuart Exp $
4ECLASS=depend.apache 4ECLASS=depend.apache
5INHERITED="$INHERITED $ECLASS" 5INHERITED="$INHERITED $ECLASS"
6 6
7###### 7######
8## Apache Common Variables 8## Apache Common Variables
134 DEPEND="${DEPEND} ${APACHE2_DEPEND}" 134 DEPEND="${DEPEND} ${APACHE2_DEPEND}"
135 RDEPEND="${RDEPEND} ${APACHE2_DEPEND}" 135 RDEPEND="${RDEPEND} ${APACHE2_DEPEND}"
136 APACHE_VERSION='2' 136 APACHE_VERSION='2'
137} 137}
138 138
139
140#### 139####
141## DO NOT CHANGE THIS FUNCTION UNLESS YOU UNDERSTAND THE CONSEQUENCES IT 140## DO NOT CHANGE THIS FUNCTION UNLESS YOU UNDERSTAND THE CONSEQUENCES IT
142## WILL HAVE ON THE CACHE! There MUST be a apache2? () block in DEPEND for 141## WILL HAVE ON THE CACHE! There MUST be a apache2? () block in DEPEND for
143## things to work correct in the dependency calculation stage. 142## things to work correct in the dependency calculation stage.
144#### 143####
148 IUSE="${IUSE} apache2" 147 IUSE="${IUSE} apache2"
149 DEPEND="${DEPEND} ${APACHE_DEPEND}" 148 DEPEND="${DEPEND} ${APACHE_DEPEND}"
150 RDEPEND="${RDEPEND} ${APACHE_DEPEND}" 149 RDEPEND="${RDEPEND} ${APACHE_DEPEND}"
151 if useq apache2; then 150 if useq apache2; then
152 APACHE_VERSION='2' 151 APACHE_VERSION='2'
152 USE_APACHE2=2
153 APXS="$APXS2"
154 APACHECTL="${APACHECTL2}"
155 APACHE_BASEDIR="${APACHE2_BASEDIR}"
156 APACHE_CONFDIR="${APACHE2_CONFDIR}"
157 APACHE_MODULES_CONFDIR="${APACHE2_MODULES_CONFDIR}"
158 APACHE_VHOSTSDIR="${APACHE2_VHOSTSDIR}"
159 APACHE_MODULESDIR="${APACHE2_MODULESDIR}"
153 else 160 else
154 APACHE_VERSION='1' 161 APACHE_VERSION='1'
162 APXS="$APXS1"
163 USE_APACHE2=
164 APACHECTL="${APACHECTL1}"
165 APACHE_BASEDIR="${APACHE1_BASEDIR}"
166 APACHE_CONFDIR="${APACHE1_CONFDIR}"
167 APACHE_MODULES_CONFDIR="${APACHE1_MODULES_CONFDIR}"
168 APACHE_VHOSTSDIR="${APACHE1_VHOSTSDIR}"
169 APACHE_MODULESDIR="${APACHE1_MODULESDIR}"
155 fi 170 fi
156} 171}

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.20