1 |
On 02/01/16 03:41, Michał Górny wrote: |
2 |
> --- |
3 |
> eclass/scons-utils.eclass | 8 ++++---- |
4 |
> 1 file changed, 4 insertions(+), 4 deletions(-) |
5 |
> |
6 |
> diff --git a/eclass/scons-utils.eclass b/eclass/scons-utils.eclass |
7 |
> index a2a6884..e1b3a1b6 100644 |
8 |
> --- a/eclass/scons-utils.eclass |
9 |
> +++ b/eclass/scons-utils.eclass |
10 |
> @@ -1,4 +1,4 @@ |
11 |
> -# Copyright 1999-2012 Gentoo Foundation |
12 |
> +# Copyright 1999-2015 Gentoo Foundation |
13 |
> # Distributed under the terms of the GNU General Public License v2 |
14 |
> # $Id$ |
15 |
> |
16 |
> @@ -17,19 +17,19 @@ |
17 |
> # EAPI=4 |
18 |
> # |
19 |
> # src_configure() { |
20 |
> -# myesconsargs=( |
21 |
> +# MYSCONS=( |
22 |
> # CC="$(tc-getCC)" |
23 |
> # $(use_scons nls ENABLE_NLS) |
24 |
> # ) |
25 |
> # } |
26 |
> # |
27 |
> # src_compile() { |
28 |
> -# escons |
29 |
> +# escons "${MYSCONS[@]}" |
30 |
> # } |
31 |
> # |
32 |
> # src_install() { |
33 |
> # # note: this can be DESTDIR, INSTALL_ROOT, ... depending on package |
34 |
> -# escons DESTDIR="${D}" install |
35 |
> +# escons "${MYSCONS[@]}" DESTDIR="${D}" install |
36 |
> # } |
37 |
> # @CODE |
38 |
> |
39 |
> |
40 |
|
41 |
What is the benefit of MYSCONS vs myesconsargs? The latter seems to be |
42 |
more consistent with other eclasses (mycmakeargs, myqmakeargs, ...) |