summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2005-03-14 10:42:28 +0000
committerStuart Herbert <stuart@gentoo.org>2005-03-14 10:42:28 +0000
commit4a81df0bde7611a2813c18e21ead3c9b69a821d7 (patch)
tree0a5d978c7d93ae7ac0c1b6c7832afd106ec2fc09 /eclass/depend.apache.eclass
parentNew version, bug 84744 (diff)
downloadgentoo-2-4a81df0bde7611a2813c18e21ead3c9b69a821d7.tar.gz
gentoo-2-4a81df0bde7611a2813c18e21ead3c9b69a821d7.tar.bz2
gentoo-2-4a81df0bde7611a2813c18e21ead3c9b69a821d7.zip
Fixes for mod_php support
Diffstat (limited to 'eclass/depend.apache.eclass')
-rw-r--r--eclass/depend.apache.eclass19
1 files changed, 17 insertions, 2 deletions
diff --git a/eclass/depend.apache.eclass b/eclass/depend.apache.eclass
index bd73f624aff4..4041726ab580 100644
--- a/eclass/depend.apache.eclass
+++ b/eclass/depend.apache.eclass
@@ -1,6 +1,6 @@
# Copyright 2004-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/eclass/depend.apache.eclass,v 1.12 2005/03/04 12:39:28 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/depend.apache.eclass,v 1.13 2005/03/14 10:42:28 stuart Exp $
ECLASS=depend.apache
INHERITED="$INHERITED $ECLASS"
@@ -136,7 +136,6 @@ need_apache2() {
APACHE_VERSION='2'
}
-
####
## DO NOT CHANGE THIS FUNCTION UNLESS YOU UNDERSTAND THE CONSEQUENCES IT
## WILL HAVE ON THE CACHE! There MUST be a apache2? () block in DEPEND for
@@ -150,7 +149,23 @@ need_apache() {
RDEPEND="${RDEPEND} ${APACHE_DEPEND}"
if useq apache2; then
APACHE_VERSION='2'
+ USE_APACHE2=2
+ APXS="$APXS2"
+ APACHECTL="${APACHECTL2}"
+ APACHE_BASEDIR="${APACHE2_BASEDIR}"
+ APACHE_CONFDIR="${APACHE2_CONFDIR}"
+ APACHE_MODULES_CONFDIR="${APACHE2_MODULES_CONFDIR}"
+ APACHE_VHOSTSDIR="${APACHE2_VHOSTSDIR}"
+ APACHE_MODULESDIR="${APACHE2_MODULESDIR}"
else
APACHE_VERSION='1'
+ APXS="$APXS1"
+ USE_APACHE2=
+ APACHECTL="${APACHECTL1}"
+ APACHE_BASEDIR="${APACHE1_BASEDIR}"
+ APACHE_CONFDIR="${APACHE1_CONFDIR}"
+ APACHE_MODULES_CONFDIR="${APACHE1_MODULES_CONFDIR}"
+ APACHE_VHOSTSDIR="${APACHE1_VHOSTSDIR}"
+ APACHE_MODULESDIR="${APACHE1_MODULESDIR}"
fi
}