On Fri,  7 Sep 2018 09:47:00 -0400
Brian Evans <[email protected]> wrote:

> The eltpatch command is run on the build host.
> As such, it needs to be in BDEPEND for EAPI 7.
> 
> Also taking this opportunity to list compatible EAPIs to consider
> future adjustments.
> ---
>  eclass/libtool.eclass | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)
> 
> diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass
> index 2e0f608d342..942bf34aa27 100644
> --- a/eclass/libtool.eclass
> +++ b/eclass/libtool.eclass
> @@ -16,7 +17,11 @@
>  if [[ -z ${_LIBTOOL_ECLASS} ]]; then
>  _LIBTOOL_ECLASS=1
>  
> -DEPEND=">=app-portage/elt-patches-20170422"  
> +case ${EAPI:-0} in
> +     0|1|2|3|4|5|6) DEPEND=">=app-portage/elt-patches-20170422" ;;
> +     7) BDEPEND=">=app-portage/elt-patches-20170422" ;;
> +     *) die "${ECLASS}: EAPI ${EAPI} not supported" ;;
> +esac
>  
>  inherit toolchain-funcs
>  

Why not take the opportunity to bump elt-patches to 20170815?

-- 
James Le Cuirot (chewi)
Gentoo Linux Developer

Reply via email to