Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog multilib-build.eclass
Date: Fri, 23 May 2014 17:11:14
Message-Id: 20140523171111.130B62004C@flycatcher.gentoo.org
1 mgorny 14/05/23 17:11:10
2
3 Modified: ChangeLog multilib-build.eclass
4 Log:
5 Change ABI-flag separator from ":" to "." to avoid issues with Makefile rules and PATH separator.
6
7 Revision Changes Path
8 1.1271 eclass/ChangeLog
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1271&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1271&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1270&r2=1.1271
13
14 Index: ChangeLog
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
17 retrieving revision 1.1270
18 retrieving revision 1.1271
19 diff -u -r1.1270 -r1.1271
20 --- ChangeLog 23 May 2014 07:53:22 -0000 1.1270
21 +++ ChangeLog 23 May 2014 17:11:10 -0000 1.1271
22 @@ -1,6 +1,10 @@
23 # ChangeLog for eclass directory
24 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1270 2014/05/23 07:53:22 mgorny Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1271 2014/05/23 17:11:10 mgorny Exp $
27 +
28 + 23 May 2014; Michał Górny <mgorny@g.o> multilib-build.eclass:
29 + Change ABI-flag separator from ":" to "." to avoid issues with Makefile rules
30 + and PATH separator.
31
32 23 May 2014; Michał Górny <mgorny@g.o> multilib-build.eclass:
33 Add remaining potential multilib arches to header wrapping template.
34
35
36
37 1.54 eclass/multilib-build.eclass
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multilib-build.eclass?rev=1.54&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multilib-build.eclass?rev=1.54&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multilib-build.eclass?r1=1.53&r2=1.54
42
43 Index: multilib-build.eclass
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v
46 retrieving revision 1.53
47 retrieving revision 1.54
48 diff -u -r1.53 -r1.54
49 --- multilib-build.eclass 23 May 2014 07:53:22 -0000 1.53
50 +++ multilib-build.eclass 23 May 2014 17:11:10 -0000 1.54
51 @@ -1,6 +1,6 @@
52 # Copyright 1999-2014 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 -# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.53 2014/05/23 07:53:22 mgorny Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.54 2014/05/23 17:11:10 mgorny Exp $
56
57 # @ECLASS: multilib-build.eclass
58 # @MAINTAINER:
59 @@ -130,7 +130,7 @@
60
61 # @FUNCTION: multilib_get_enabled_abi_pairs
62 # @DESCRIPTION:
63 -# Return the ordered list of enabled <use-flag>:<ABI> pairs
64 +# Return the ordered list of enabled <use-flag>.<ABI> pairs
65 # if multilib builds are enabled. The best (most preferred)
66 # ABI will come last.
67 #
68 @@ -152,7 +152,7 @@
69 # for the split is more complex than cheating like this
70 for m_abi in ${m_abis//,/ }; do
71 if [[ ${m_abi} == ${abi} ]] && use "${m_flag}"; then
72 - echo "${m_flag}:${abi}"
73 + echo "${m_flag}.${abi}"
74 found=1
75 break 2
76 fi
77 @@ -167,7 +167,7 @@
78
79 debug-print "${FUNCNAME}: no ABIs enabled, fallback to ${abi}"
80 debug-print "${FUNCNAME}: ABI=${ABI}, DEFAULT_ABI=${DEFAULT_ABI}"
81 - echo ":${abi}"
82 + echo ".${abi}"
83 fi
84 }
85
86 @@ -179,8 +179,8 @@
87 _multilib_multibuild_wrapper() {
88 debug-print-function ${FUNCNAME} "${@}"
89
90 - local ABI=${MULTIBUILD_VARIANT#*:}
91 - local MULTILIB_ABI_FLAG=${MULTIBUILD_VARIANT%:*}
92 + local ABI=${MULTIBUILD_VARIANT#*.}
93 + local MULTILIB_ABI_FLAG=${MULTIBUILD_VARIANT%.*}
94
95 multilib_toolchain_setup "${ABI}"
96 "${@}"