diff options
author | Julien Allanos <dju@gentoo.org> | 2005-07-14 15:38:16 +0000 |
---|---|---|
committer | Julien Allanos <dju@gentoo.org> | 2005-07-14 15:38:16 +0000 |
commit | cedefb2e43e9df8e7bcce467ea77763fda4191a4 (patch) | |
tree | fd558562b469d7fce9da8ee0c3354dde19ffd1b9 /eclass/webapp.eclass | |
parent | Removed ppc-macos from keywords. (diff) | |
download | gentoo-2-cedefb2e43e9df8e7bcce467ea77763fda4191a4.tar.gz gentoo-2-cedefb2e43e9df8e7bcce467ea77763fda4191a4.tar.bz2 gentoo-2-cedefb2e43e9df8e7bcce467ea77763fda4191a4.zip |
added WEBAPP_MANUAL_SLOT to allow ebuilds to set SLOTs.
Diffstat (limited to 'eclass/webapp.eclass')
-rw-r--r-- | eclass/webapp.eclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/webapp.eclass b/eclass/webapp.eclass index 351597e3e9ba..e24664e25e22 100644 --- a/eclass/webapp.eclass +++ b/eclass/webapp.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/webapp.eclass,v 1.34 2005/07/11 15:08:06 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/webapp.eclass,v 1.35 2005/07/14 15:38:16 dju Exp $ # # eclass/webapp.eclass # Eclass for installing applications to run under a web server @@ -339,7 +339,9 @@ function webapp_pkg_setup () # add sanity checks here if [ "$SLOT+" != "${PVR}+" ]; then - die "ebuild sets SLOT, overrides webapp.eclass" + if [ "$WEBAPP_MANUAL_SLOT" != "yes" ]; then + die "ebuild sets SLOT, overrides webapp.eclass" + fi fi # pull in the shared configuration file |