1 |
On Fri, 7 Sep 2018 09:47:00 -0400 |
2 |
Brian Evans <grknight@g.o> wrote: |
3 |
|
4 |
> The eltpatch command is run on the build host. |
5 |
> As such, it needs to be in BDEPEND for EAPI 7. |
6 |
> |
7 |
> Also taking this opportunity to list compatible EAPIs to consider |
8 |
> future adjustments. |
9 |
> --- |
10 |
> eclass/libtool.eclass | 9 +++++++-- |
11 |
> 1 file changed, 7 insertions(+), 2 deletions(-) |
12 |
> |
13 |
> diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass |
14 |
> index 2e0f608d342..942bf34aa27 100644 |
15 |
> --- a/eclass/libtool.eclass |
16 |
> +++ b/eclass/libtool.eclass |
17 |
> @@ -16,7 +17,11 @@ |
18 |
> if [[ -z ${_LIBTOOL_ECLASS} ]]; then |
19 |
> _LIBTOOL_ECLASS=1 |
20 |
> |
21 |
> -DEPEND=">=app-portage/elt-patches-20170422" |
22 |
> +case ${EAPI:-0} in |
23 |
> + 0|1|2|3|4|5|6) DEPEND=">=app-portage/elt-patches-20170422" ;; |
24 |
> + 7) BDEPEND=">=app-portage/elt-patches-20170422" ;; |
25 |
> + *) die "${ECLASS}: EAPI ${EAPI} not supported" ;; |
26 |
> +esac |
27 |
> |
28 |
> inherit toolchain-funcs |
29 |
> |
30 |
|
31 |
Why not take the opportunity to bump elt-patches to 20170815? |
32 |
|
33 |
-- |
34 |
James Le Cuirot (chewi) |
35 |
Gentoo Linux Developer |