I've attached a patch to the eclass that removes the user-visible warning about
manual SLOTting. Unless there are strong objections, I plan to commit this patch
to the tree in a week.

Best,
-- 
Renat Lumpau       all things web-apps
C6A838DA           04AF B5EE 17CB 1000 DDA5  D3FC 1338 ADC2 C6A8 38DA
--- webapp.eclass       2006-07-03 20:56:55.000000000 +0000
+++ webapp.eclass.patched       2006-07-03 20:49:20.000000000 +0000
@@ -352,17 +352,9 @@
 {
        # add sanity checks here
 
-       if [ "${SLOT}+" != "${PVR}+" ]; then
-               # special case - some ebuilds *do* need to overwride the SLOT
-               if [ "${WEBAPP_MANUAL_SLOT}" != "yes" ]; then
-                       die "ebuild sets SLOT, overrides webapp.eclass"
-               else
-                       ewarn
-                       ewarn "This ebuild overrides the default SLOT behaviour 
for webapps"
-                       ewarn "If this package installs files into the htdocs 
dir, this is"
-                       ewarn "probably a bug in the ebuild."
-                       ewarn
-               fi
+       # special case - some ebuilds *do* need to overwride the SLOT
+       if [[ "${SLOT}+" != "${PVR}+" && "${WEBAPP_MANUAL_SLOT}" != "yes" ]]; 
then
+               die "Set WEBAPP_MANUAL_SLOT=\"yes\" if you need to SLOT 
manually"
        fi
 
        # pull in the shared configuration file

Attachment: pgpoYKgv5w7rL.pgp
Description: PGP signature

Reply via email to