| 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.23 2005/09/19 00:03:55 vericgar Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/depend.apache.eclass,v 1.26 2006/06/10 16:19:54 swegener Exp $ |
| 4 | |
4 | |
| 5 | inherit multilib |
5 | inherit 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, |
| … | |
… | |
| 42 | #### |
50 | #### |
| 43 | ## APACHE1_BASEDIR, APACHE2_BASEDIR |
51 | ## APACHE1_BASEDIR, APACHE2_BASEDIR |
| 44 | ## |
52 | ## |
| 45 | ## Paths to the server root directories |
53 | ## Paths to the server root directories |
| 46 | #### |
54 | #### |
| 47 | #APACHE1_BASEDIR="/usr/$(get_libdir)/apache" |
55 | APACHE1_BASEDIR="/usr/$(get_libdir)/apache" |
| 48 | #APACHE2_BASEDIR="/usr/$(get_libdir)/apache2" |
56 | APACHE2_BASEDIR="/usr/$(get_libdir)/apache2" |
| 49 | APACHE1_BASEDIR="/usr/lib/apache" |
|
|
| 50 | APACHE2_BASEDIR="/usr/lib/apache2" |
|
|
| 51 | |
57 | |
| 52 | #### |
58 | #### |
| 53 | ## APACHE1_CONFDIR, APACHE2_CONFDIR |
59 | ## APACHE1_CONFDIR, APACHE2_CONFDIR |
| 54 | ## |
60 | ## |
| 55 | ## Paths to the configuration file directories (usually under |
61 | ## Paths to the configuration file directories (usually under |