summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-01-01 10:11:58 +0100
committerMichał Górny <mgorny@gentoo.org>2016-01-08 06:14:36 +0100
commit47275161fa5e5c0e16d207c1c5a77836ce155bf7 (patch)
tree56641f572b33f5342676d4f6c538d21f58084e52 /eclass/scons-utils.eclass
parentdev-util/buildbot: Fix bug 570638 missing python-dateutil dep (diff)
downloadgentoo-47275161fa5e5c0e16d207c1c5a77836ce155bf7.tar.gz
gentoo-47275161fa5e5c0e16d207c1c5a77836ce155bf7.tar.bz2
gentoo-47275161fa5e5c0e16d207c1c5a77836ce155bf7.zip
scons-utils.eclass: Modernize the example not to rely on myescons...
Diffstat (limited to 'eclass/scons-utils.eclass')
-rw-r--r--eclass/scons-utils.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/scons-utils.eclass b/eclass/scons-utils.eclass
index a2a6884e55d3..e1b3a1b64184 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