summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Allanos <dju@gentoo.org>2005-07-14 15:38:16 +0000
committerJulien Allanos <dju@gentoo.org>2005-07-14 15:38:16 +0000
commit77b35287d0e2067cbd1a6bab46f1f460efc33487 (patch)
tree9b563cc6bbd0f08a067c69022dcc296fc918c3bc /eclass/webapp.eclass
parentRemoved ppc-macos from keywords. (diff)
downloadhistorical-77b35287d0e2067cbd1a6bab46f1f460efc33487.tar.gz
historical-77b35287d0e2067cbd1a6bab46f1f460efc33487.tar.bz2
historical-77b35287d0e2067cbd1a6bab46f1f460efc33487.zip
added WEBAPP_MANUAL_SLOT to allow ebuilds to set SLOTs.
Diffstat (limited to 'eclass/webapp.eclass')
-rw-r--r--eclass/webapp.eclass6
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