summaryrefslogtreecommitdiff
path: root/eclass
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
commitab3faf77a52d47253bfbce17a2089f6719a6834a (patch)
treebf4bf8b5d071502f4a74d3a8b7aa8525c57c315f /eclass
parentadded fbdev flag for mplayer. (diff)
downloadgentoo-2-ab3faf77a52d47253bfbce17a2089f6719a6834a.tar.gz
gentoo-2-ab3faf77a52d47253bfbce17a2089f6719a6834a.tar.bz2
gentoo-2-ab3faf77a52d47253bfbce17a2089f6719a6834a.zip
Added experimental SLOT syntax
Diffstat (limited to '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