summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2004-07-24 08:39:33 +0000
committerStuart Herbert <stuart@gentoo.org>2004-07-24 08:39:33 +0000
commit3d89d5d59925327de583aefb82570b0a42e5dd78 (patch)
tree6147680d804761a8b5958d9e16e2697c3c5a5e4f /eclass/depend.apache.eclass
parentadded fbdev flag for mplayer. (diff)
downloadhistorical-3d89d5d59925327de583aefb82570b0a42e5dd78.tar.gz
historical-3d89d5d59925327de583aefb82570b0a42e5dd78.tar.bz2
historical-3d89d5d59925327de583aefb82570b0a42e5dd78.zip
Added experimental SLOT syntax
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