1 |
On Samstag, 28. Februar 2009, Peter Volkov wrote: |
2 |
> В Втр, 24/02/2009 в 16:14 +0200, Serkan Kaba пишет: |
3 |
> > lucene-contrib eclass in java-experimental [1] sets EAPI to 1 to use |
4 |
> > slot deps. And I think that's a valid usage. |
5 |
> > |
6 |
> > 1: |
7 |
> > http://overlays.gentoo.org/proj/java/browser/java-experimental/eclass/luc |
8 |
> >ene-contrib.eclass |
9 |
> |
10 |
> It's better (the only way...) to die in case an ebuild sets lower EAPI, |
11 |
> like kde4-functions.eclass does: |
12 |
> |
13 |
> case ${EAPI} in |
14 |
> 2) : ;; |
15 |
> *) die "No way! EAPI older than 2 is not supported." ;; |
16 |
> esac |
17 |
|
18 |
I still dislike die in global scope, why not do it like autotools.eclass? |
19 |
It does: |
20 |
DEPEND="INCORRECT-WANT_AUTOCONF-SETTING-IN-EBUILD" |
21 |
|
22 |
Regards |
23 |
Matthias |