On 02/01/16 03:41, Michał Górny wrote:
> ---
>  eclass/scons-utils.eclass | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/eclass/scons-utils.eclass b/eclass/scons-utils.eclass
> index a2a6884..e1b3a1b6 100644
> --- a/eclass/scons-utils.eclass
> +++ b/eclass/scons-utils.eclass
> @@ -1,4 +1,4 @@
> -# Copyright 1999-2012 Gentoo Foundation
> +# Copyright 1999-2015 Gentoo Foundation
>  # Distributed under the terms of the GNU General Public License v2
>  # $Id$
>  
> @@ -17,19 +17,19 @@
>  # EAPI=4
>  #
>  # src_configure() {
> -#    myesconsargs=(
> +#    MYSCONS=(
>  #            CC="$(tc-getCC)"
>  #            $(use_scons nls ENABLE_NLS)
>  #    )
>  # }
>  #
>  # src_compile() {
> -#    escons
> +#    escons "${MYSCONS[@]}"
>  # }
>  #
>  # src_install() {
>  #    # note: this can be DESTDIR, INSTALL_ROOT, ... depending on package
> -#    escons DESTDIR="${D}" install
> +#    escons "${MYSCONS[@]}" DESTDIR="${D}" install
>  # }
>  # @CODE
>  
> 

What is the benefit of MYSCONS vs myesconsargs? The latter seems to be
more consistent with other eclasses (mycmakeargs, myqmakeargs, ...)


Reply via email to