/[gentoo-x86]/eclass/depend.apache.eclass
Gentoo

Diff of /eclass/depend.apache.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.4
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 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.1 2004/07/16 10:48:22 stuart Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/depend.apache.eclass,v 1.4 2004/07/24 08:47:01 stuart Exp $
4 4
5ECLASS="depend.apache" 5ECLASS="depend.apache"
6INHERITED="$INHERITED $ECLASS" 6INHERITED="$INHERITED $ECLASS"
7IUSE="apache apache2" 7IUSE="apache apache2"
8
9# remember to set MY_SLOT if you want to include something like ${PVR} in
10# the slot information
11# SLOT="apache? ( 1{$MY_SLOT} ) apache2? ( 2{$MY_SLOT} ) !apache1? ( !apache2? ( 2${MY_SLOT} ) )"
12
13DEPEND="$DEPEND apache? ( =net-www/apache-1* ) apache2? ( =net-www/apache-2* )
14 !apache? ( !apache2? ( net-www/apache-2* ) )"
8 15
9# call this function to work out which version of the apache web server 16# call this function to work out which version of the apache web server
10# your ebuild should be installing itself to use 17# your ebuild should be installing itself to use
11 18
12detect_apache_useflags() { 19detect_apache_useflags() {
75 einfo "Apache 1 support enabled" 82 einfo "Apache 1 support enabled"
76 DETECT_APACHE=1 83 DETECT_APACHE=1
77 return 84 return
78 fi 85 fi
79 fi 86 fi
87
88 [ -z "$DETECT_APACHE" ] && DETECT_APACHE=2
80} 89}
81 90

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20