Brian Harring wrote:
Please test this out; if you want to test the EAPI checking, tag EAPI=1 into an ebuild, and try making emerge bail.

I needed to patch ebuild.sh so that EAPI would be parsed.  It bails out 
properly now.

Zac
Index: portage/bin/ebuild.sh
===================================================================
--- portage.orig/bin/ebuild.sh
+++ portage/bin/ebuild.sh
@@ -1850,6 +1850,7 @@ for myarg in $*; do
 		echo `echo "$CDEPEND"`     >> $dbkey
 		echo `echo "$PDEPEND"`     >> $dbkey
 		echo `echo "$PROVIDE"`     >> $dbkey
+		echo `echo "$EAPI"`        >> $dbkey
 		echo `echo "$UNUSED_01"`   >> $dbkey
 		echo `echo "$UNUSED_02"`   >> $dbkey
 		echo `echo "$UNUSED_03"`   >> $dbkey
@@ -1857,7 +1858,6 @@ for myarg in $*; do
 		echo `echo "$UNUSED_05"`   >> $dbkey
 		echo `echo "$UNUSED_06"`   >> $dbkey
 		echo `echo "$UNUSED_07"`   >> $dbkey
-		echo `echo "$UNUSED_08"`   >> $dbkey
 		set +f
 		#make sure it is writable by our group:
 		exit 0

Reply via email to