On Samstag, 28. Februar 2009, Peter Volkov wrote:
> В Втр, 24/02/2009 в 16:14 +0200, Serkan Kaba пишет:
> > lucene-contrib eclass in java-experimental [1] sets EAPI to 1 to use
> > slot deps. And I think that's a valid usage.
> >
> > 1:
> > http://overlays.gentoo.org/proj/java/browser/java-experimental/eclass/luc
> >ene-contrib.eclass
>
> It's better (the only way...) to die in case an ebuild sets lower EAPI,
> like kde4-functions.eclass does:
>
> case ${EAPI} in
>     2) : ;;
>     *) die "No way! EAPI older than 2 is not supported." ;;
> esac

I still dislike die in global scope, why not do it like autotools.eclass?
It does:
DEPEND="INCORRECT-WANT_AUTOCONF-SETTING-IN-EBUILD"

Regards
Matthias

Reply via email to