1 |
mgorny 14/04/29 20:54:54 |
2 |
|
3 |
Modified: ChangeLog cmake-multilib.eclass |
4 |
multilib-build.eclass multilib-minimal.eclass |
5 |
Log: |
6 |
Move conditionals for enabling wrappers into multilib_prepare_wrappers() and multilib_install_wrappers(). |
7 |
|
8 |
Revision Changes Path |
9 |
1.1228 eclass/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1228&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1228&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1227&r2=1.1228 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v |
18 |
retrieving revision 1.1227 |
19 |
retrieving revision 1.1228 |
20 |
diff -u -r1.1227 -r1.1228 |
21 |
--- ChangeLog 28 Apr 2014 17:38:21 -0000 1.1227 |
22 |
+++ ChangeLog 29 Apr 2014 20:54:54 -0000 1.1228 |
23 |
@@ -1,6 +1,11 @@ |
24 |
# ChangeLog for eclass directory |
25 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1227 2014/04/28 17:38:21 mgorny Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1228 2014/04/29 20:54:54 mgorny Exp $ |
28 |
+ |
29 |
+ 29 Apr 2014; Michał Górny <mgorny@g.o> cmake-multilib.eclass, |
30 |
+ multilib-build.eclass, multilib-minimal.eclass: |
31 |
+ Move conditionals for enabling wrappers into multilib_prepare_wrappers() and |
32 |
+ multilib_install_wrappers(). |
33 |
|
34 |
28 Apr 2014; Michał Górny <mgorny@g.o> multilib-build.eclass: |
35 |
Deprecate multilib_build_binaries, and switch the code to use |
36 |
|
37 |
|
38 |
|
39 |
1.6 eclass/cmake-multilib.eclass |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/cmake-multilib.eclass?rev=1.6&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/cmake-multilib.eclass?rev=1.6&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/cmake-multilib.eclass?r1=1.5&r2=1.6 |
44 |
|
45 |
Index: cmake-multilib.eclass |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/eclass/cmake-multilib.eclass,v |
48 |
retrieving revision 1.5 |
49 |
retrieving revision 1.6 |
50 |
diff -u -r1.5 -r1.6 |
51 |
--- cmake-multilib.eclass 3 Apr 2014 22:09:36 -0000 1.5 |
52 |
+++ cmake-multilib.eclass 29 Apr 2014 20:54:54 -0000 1.6 |
53 |
@@ -1,6 +1,6 @@ |
54 |
# Copyright 1999-2014 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-multilib.eclass,v 1.5 2014/04/03 22:09:36 mgorny Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/cmake-multilib.eclass,v 1.6 2014/04/29 20:54:54 mgorny Exp $ |
58 |
|
59 |
# @ECLASS: cmake-multilib.eclass |
60 |
# @MAINTAINER: |
61 |
@@ -50,12 +50,9 @@ |
62 |
cmake-multilib_secure_install() { |
63 |
cmake-utils_src_install "${@}" |
64 |
|
65 |
- # Do multilib magic only when >1 ABI is used. |
66 |
- if [[ ${#MULTIBUILD_VARIANTS[@]} -gt 1 ]]; then |
67 |
- multilib_prepare_wrappers |
68 |
- # Make sure all headers are the same for each ABI. |
69 |
- multilib_check_headers |
70 |
- fi |
71 |
+ multilib_prepare_wrappers |
72 |
+ # Make sure all headers are the same for each ABI. |
73 |
+ multilib_check_headers |
74 |
} |
75 |
|
76 |
multilib_foreach_abi cmake-multilib_secure_install "${@}" |
77 |
|
78 |
|
79 |
|
80 |
1.41 eclass/multilib-build.eclass |
81 |
|
82 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multilib-build.eclass?rev=1.41&view=markup |
83 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multilib-build.eclass?rev=1.41&content-type=text/plain |
84 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multilib-build.eclass?r1=1.40&r2=1.41 |
85 |
|
86 |
Index: multilib-build.eclass |
87 |
=================================================================== |
88 |
RCS file: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v |
89 |
retrieving revision 1.40 |
90 |
retrieving revision 1.41 |
91 |
diff -u -r1.40 -r1.41 |
92 |
--- multilib-build.eclass 28 Apr 2014 17:38:21 -0000 1.40 |
93 |
+++ multilib-build.eclass 29 Apr 2014 20:54:54 -0000 1.41 |
94 |
@@ -1,6 +1,6 @@ |
95 |
# Copyright 1999-2014 Gentoo Foundation |
96 |
# Distributed under the terms of the GNU General Public License v2 |
97 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.40 2014/04/28 17:38:21 mgorny Exp $ |
98 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.41 2014/04/29 20:54:54 mgorny Exp $ |
99 |
|
100 |
# @ECLASS: multilib-build.eclass |
101 |
# @MAINTAINER: |
102 |
@@ -295,6 +295,8 @@ |
103 |
|
104 |
[[ ${#} -le 1 ]] || die "${FUNCNAME}: too many arguments" |
105 |
|
106 |
+ [[ ${#MULTIBUILD_VARIANTS[@]} -le 1 ]] && return |
107 |
+ |
108 |
local root=${1:-${ED}} |
109 |
local f |
110 |
|
111 |
@@ -419,6 +421,8 @@ |
112 |
|
113 |
[[ ${#} -le 1 ]] || die "${FUNCNAME}: too many arguments" |
114 |
|
115 |
+ [[ ${#MULTIBUILD_VARIANTS[@]} -le 1 ]] && return |
116 |
+ |
117 |
local root=${1:-${ED}} |
118 |
|
119 |
if [[ -d "${ED}"/tmp/multilib-include ]]; then |
120 |
|
121 |
|
122 |
|
123 |
1.8 eclass/multilib-minimal.eclass |
124 |
|
125 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multilib-minimal.eclass?rev=1.8&view=markup |
126 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multilib-minimal.eclass?rev=1.8&content-type=text/plain |
127 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/multilib-minimal.eclass?r1=1.7&r2=1.8 |
128 |
|
129 |
Index: multilib-minimal.eclass |
130 |
=================================================================== |
131 |
RCS file: /var/cvsroot/gentoo-x86/eclass/multilib-minimal.eclass,v |
132 |
retrieving revision 1.7 |
133 |
retrieving revision 1.8 |
134 |
diff -u -r1.7 -r1.8 |
135 |
--- multilib-minimal.eclass 27 Dec 2013 22:47:14 -0000 1.7 |
136 |
+++ multilib-minimal.eclass 29 Apr 2014 20:54:54 -0000 1.8 |
137 |
@@ -1,6 +1,6 @@ |
138 |
-# Copyright 1999-2013 Gentoo Foundation |
139 |
+# Copyright 1999-2014 Gentoo Foundation |
140 |
# Distributed under the terms of the GNU General Public License v2 |
141 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-minimal.eclass,v 1.7 2013/12/27 22:47:14 hasufell Exp $ |
142 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-minimal.eclass,v 1.8 2014/04/29 20:54:54 mgorny Exp $ |
143 |
|
144 |
# @ECLASS: multilib-minimal.eclass |
145 |
# @MAINTAINER: |
146 |
@@ -108,11 +108,9 @@ |
147 |
emake DESTDIR="${D}" install |
148 |
fi |
149 |
fi |
150 |
- # Do multilib magic only when >1 ABI is used. |
151 |
- if [[ ${#MULTIBUILD_VARIANTS[@]} -gt 1 ]]; then |
152 |
- multilib_prepare_wrappers |
153 |
- multilib_check_headers |
154 |
- fi |
155 |
+ |
156 |
+ multilib_prepare_wrappers |
157 |
+ multilib_check_headers |
158 |
popd >/dev/null || die |
159 |
} |
160 |
multilib_foreach_abi multilib-minimal_abi_src_install |