Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-web-user
Navigation:
Lists: gentoo-web-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-web-user@g.o
From: Renat Lumpau <rl03@g.o>
Subject: [patch] webapp.eclass: SLOT warning
Date: Mon, 3 Jul 2006 21:05:21 +0000
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:
pgpSISS3qJnDI.pgp (PGP signature)
Replies:
Re: [patch] webapp.eclass: SLOT warning
-- Renat Lumpau
Navigation:
Lists: gentoo-web-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Password Change Required
Next by thread:
Re: [patch] webapp.eclass: SLOT warning
Previous by date:
Password Change Required
Next by date:
status of w-c


Updated Jun 17, 2009

Summary: Archive of the gentoo-web-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.