diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2008-03-04 18:54:41 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2008-03-04 18:54:41 +0000 |
commit | acc1889a8c3bdffdc0bccbd9d51e658c86e73f4c (patch) | |
tree | 39b48c76a4d876126248dd7c13f1b20e609af23f /eclass/webapp.eclass | |
parent | ppc stable, bug #211956 (diff) | |
download | historical-acc1889a8c3bdffdc0bccbd9d51e658c86e73f4c.tar.gz historical-acc1889a8c3bdffdc0bccbd9d51e658c86e73f4c.tar.bz2 historical-acc1889a8c3bdffdc0bccbd9d51e658c86e73f4c.zip |
provide WEBAPP_DEPEND for ebuilds with WEBAPP_OPTIONAL
Diffstat (limited to 'eclass/webapp.eclass')
-rw-r--r-- | eclass/webapp.eclass | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/eclass/webapp.eclass b/eclass/webapp.eclass index 4e430a80d739..5f8d8d39adf7 100644 --- a/eclass/webapp.eclass +++ b/eclass/webapp.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/webapp.eclass,v 1.61 2008/03/04 18:44:01 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/webapp.eclass,v 1.62 2008/03/04 18:54:41 hollow Exp $ # # @ECLASS: webapp.eclass # @MAINTAINER: @@ -10,6 +10,12 @@ # The webapp eclass contains functions to handle web applications with # webapp-config. Part of the implementation of GLEP #11 +# @ECLASS-VARIABLE: WEBAPP_DEPEND +# @DESCRIPTION: +# An ebuild should use WEBAPP_DEPEND if a custom DEPEND needs to be build, most +# notably in combination with WEBAPP_OPTIONAL. +WEBAPP_DEPEND=">=app-admin/webapp-config-1.50.15" + # @ECLASS-VARIABLE: WEBAPP_NO_AUTO_INSTALL # @DESCRIPTION: # An ebuild sets this to `yes' if an automatic installation and/or upgrade is @@ -24,7 +30,7 @@ if [[ "${WEBAPP_OPTIONAL}" != "yes" ]]; then [[ "${WEBAPP_NO_AUTO_INSTALL}" == "yes" ]] || IUSE="vhosts" SLOT="${PVR}" - DEPEND=">=app-admin/webapp-config-1.50.15" + DEPEND="${WEBAPP_DEPEND}" RDEPEND="${DEPEND}" fi |