commit: 47275161fa5e5c0e16d207c1c5a77836ce155bf7
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 1 09:11:58 2016 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 8 05:14:36 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47275161
scons-utils.eclass: Modernize the example not to rely on myescons...
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..e1b3a1b 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