Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: x11@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH virtualx.eclass 3/5] Convert X* functions to the new API.
Date: Mon, 11 Feb 2013 22:17:31
Message-Id: 1360620883-22562-4-git-send-email-mgorny@gentoo.org
In Reply to: [gentoo-dev] [RFC/PATCH] A cleaner API for virtualx.eclass by "Michał Górny"
1 ---
2 gx86/eclass/virtualx.eclass | 6 +++---
3 1 file changed, 3 insertions(+), 3 deletions(-)
4
5 diff --git a/gx86/eclass/virtualx.eclass b/gx86/eclass/virtualx.eclass
6 index 0da3066..096c37a 100644
7 --- a/gx86/eclass/virtualx.eclass
8 +++ b/gx86/eclass/virtualx.eclass
9 @@ -190,7 +190,7 @@ Xmake() {
10
11 eqawarn "you should not execute make directly"
12 eqawarn "rather execute Xemake -j1 if you have issues with parallel make"
13 - VIRTUALX_COMMAND="emake -j1" virtualmake "$@"
14 + virtualx emake -j1 "$@"
15 }
16
17 # @FUNCTION: Xemake
18 @@ -199,7 +199,7 @@ Xmake() {
19 Xemake() {
20 debug-print-function ${FUNCNAME} "$@"
21
22 - VIRTUALX_COMMAND="emake" virtualmake "$@"
23 + virtualx emake "$@"
24 }
25
26 # @FUNCTION: Xeconf
27 @@ -208,5 +208,5 @@ Xemake() {
28 Xeconf() {
29 debug-print-function ${FUNCNAME} "$@"
30
31 - VIRTUALX_COMMAND="econf" virtualmake "$@"
32 + virtualx econf "$@"
33 }
34 --
35 1.8.1.2