summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/depend.apache.eclass')
-rw-r--r--eclass/depend.apache.eclass9
1 files changed, 7 insertions, 2 deletions
diff --git a/eclass/depend.apache.eclass b/eclass/depend.apache.eclass
index 91d453a864b9..8469a80f6976 100644
--- a/eclass/depend.apache.eclass
+++ b/eclass/depend.apache.eclass
@@ -1,12 +1,17 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/depend.apache.eclass,v 1.2 2004/07/16 11:22:57 stuart Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/depend.apache.eclass,v 1.3 2004/07/24 08:39:33 stuart Exp $
ECLASS="depend.apache"
INHERITED="$INHERITED $ECLASS"
IUSE="apache apache2"
-DEPEND="$DEPEND apache? ( =net-www/apache-1* ) apache2? ( =net-www/apache-2* )"
+# remember to set MY_SLOT if you want to include something like ${PVR} in
+# the slot information
+# SLOT="apache? ( 1{$MY_SLOT} ) apache2? ( 2{$MY_SLOT} ) !apache1? ( !apache2? ( 2${MY_SLOT} ) )"
+
+DEPEND="$DEPEND apache? ( =net-www/apache-1* ) apache2? ( =net-www/apache-2* )
+ !apache? ( !apache2? ( net-www/apache-2* ) )"
# call this function to work out which version of the apache web server
# your ebuild should be installing itself to use