/[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.1.1.1 Revision 1.27
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/depend.apache.eclass,v 1.1.1.1 2005/11/30 09:59:27 chriswhite Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/depend.apache.eclass,v 1.27 2006/07/05 14:12:51 chtekk Exp $
4 4
5inherit multilib 5inherit multilib
6
7# This eclass handles depending on apache in a sane way and providing
8# information about where certain interfaces are located.
9
10# NOTE: If you use this, be sure you use the need_* call after you have
11# defined DEPEND and RDEPEND. Also note that you can not rely on the
12# automatic RDEPEND=DEPEND that portage does if you use this eclass.
13# See bug 107127 for more information.
6 14
7###### 15######
8## Apache Common Variables 16## Apache Common Variables
9## 17##
10## These are internal variables used by this, and other apache-related eclasses, 18## These are internal variables used by this, and other apache-related eclasses,
198want_apache() { 206want_apache() {
199 debug-print-function want_apache 207 debug-print-function want_apache
200 208
201 IUSE="${IUSE} apache apache2" 209 IUSE="${IUSE} apache apache2"
202 DEPEND="${DEPEND} ${WANT_APACHE_DEPEND}" 210 DEPEND="${DEPEND} ${WANT_APACHE_DEPEND}"
203 RDEPEND="${DEPEND} ${WANT_APACHE_DEPEND}" 211 RDEPEND="${RDEPEND} ${WANT_APACHE_DEPEND}"
204 if useq apache2 ; then 212 if useq apache2 ; then
205 uses_apache2 213 uses_apache2
206 elif useq apache ; then 214 elif useq apache ; then
207 uses_apache1 215 uses_apache1
208 else 216 else

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.27

  ViewVC Help
Powered by ViewVC 1.1.20