Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 01/15] scons-utils.eclass: Modernize the example not to rely on myescons...
Date: Fri, 01 Jan 2016 16:42:16
Message-Id: 1451666481-22145-2-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 00/15] scons-utils.eclass: EAPI 6, better docs and cleanup by "Michał Górny"
1 ---
2 eclass/scons-utils.eclass | 8 ++++----
3 1 file changed, 4 insertions(+), 4 deletions(-)
4
5 diff --git a/eclass/scons-utils.eclass b/eclass/scons-utils.eclass
6 index a2a6884..e1b3a1b6 100644
7 --- a/eclass/scons-utils.eclass
8 +++ b/eclass/scons-utils.eclass
9 @@ -1,4 +1,4 @@
10 -# Copyright 1999-2012 Gentoo Foundation
11 +# Copyright 1999-2015 Gentoo Foundation
12 # Distributed under the terms of the GNU General Public License v2
13 # $Id$
14
15 @@ -17,19 +17,19 @@
16 # EAPI=4
17 #
18 # src_configure() {
19 -# myesconsargs=(
20 +# MYSCONS=(
21 # CC="$(tc-getCC)"
22 # $(use_scons nls ENABLE_NLS)
23 # )
24 # }
25 #
26 # src_compile() {
27 -# escons
28 +# escons "${MYSCONS[@]}"
29 # }
30 #
31 # src_install() {
32 # # note: this can be DESTDIR, INSTALL_ROOT, ... depending on package
33 -# escons DESTDIR="${D}" install
34 +# escons "${MYSCONS[@]}" DESTDIR="${D}" install
35 # }
36 # @CODE
37
38 --
39 2.6.4

Replies