1 |
* TomᨠChvátal <scarabeus@g.o>: |
2 |
> I think it is not required |
3 |
> EXPF="src_compile src_test src_install" <- definition, also nulls anything |
4 |
> what was in it before :] |
5 |
> case ${EAPI:-0} in |
6 |
> 2) EXPF="${EXPF} src_configure" ;; |
7 |
> 1|0) ;; |
8 |
> *) die "Unknown EAPI, Bug eclass maintainers." ;; |
9 |
> esac |
10 |
> EXPORT_FUNCTIONS ${EXPF} <- export |
11 |
|
12 |
And later in cmake-utils_src_compile you use: |
13 |
| has src_configure ${EXPF} || cmake-utils_src_configure |
14 |
|
15 |
What will happen if an EAPI=2 ebuild inherits cmake-utils and another eclass |
16 |
also using EXPF that does not EXPORT_FUNCTIONS src_configure and the |
17 |
ebuild uses cmake-utils_src_compile? |
18 |
|
19 |
It will call cmake-utils_src_configure during src_configure and later in |
20 |
cmake-utils_src_compile it will run cmake-utils_src_configure again, |
21 |
won't it? |