Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/glibc/
Date: Sun, 07 Jan 2018 19:40:07
Message-Id: 1515353984.91a02442c5a6c157bf9de58b20d327c88e9fac20.slyfox@gentoo
1 commit: 91a02442c5a6c157bf9de58b20d327c88e9fac20
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 7 18:43:58 2018 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 7 19:39:44 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91a02442
7
8 sys-libs/glibc: Migrate CROSSCOMPILE_OPTS=headers-only -> USE=headers-only
9
10 CROSSCOMPILE_OPTS is a USE_EXPAND of a single item: headers-only.
11 Convert it to a global USE flag instead.
12
13 Mechanical ebuild rename done as:
14 $ sed -e 's@crosscompile_opts_headers-only@headers-only@g' \
15 -i $(git grep -l headers-only)
16
17 'headers-only' flag is used by crossdev to bootstrap stage1 compiler
18 before libc is available.
19
20 crossdev switched to USE=headers-only in =sys-devel/crossdev-20171230.
21
22 Bug: https://bugs.gentoo.org/642712
23 Package-Manager: Portage-2.3.19, Repoman-2.3.6
24
25 sys-libs/glibc/glibc-2.18-r1.ebuild | 6 +++---
26 sys-libs/glibc/glibc-2.19-r1.ebuild | 6 +++---
27 sys-libs/glibc/glibc-2.20-r2.ebuild | 6 +++---
28 sys-libs/glibc/glibc-2.21-r2.ebuild | 6 +++---
29 sys-libs/glibc/glibc-2.22-r4.ebuild | 6 +++---
30 sys-libs/glibc/glibc-2.23-r4.ebuild | 6 +++---
31 sys-libs/glibc/glibc-2.24-r4.ebuild | 6 +++---
32 sys-libs/glibc/glibc-2.25-r10.ebuild | 4 ++--
33 sys-libs/glibc/glibc-2.25-r9.ebuild | 6 +++---
34 sys-libs/glibc/glibc-2.26-r3.ebuild | 6 +++---
35 sys-libs/glibc/glibc-2.26-r5.ebuild | 4 ++--
36 sys-libs/glibc/glibc-9999.ebuild | 8 ++++----
37 12 files changed, 35 insertions(+), 35 deletions(-)
38
39 diff --git a/sys-libs/glibc/glibc-2.18-r1.ebuild b/sys-libs/glibc/glibc-2.18-r1.ebuild
40 index a9c0bfc2c2b..a056ef575af 100644
41 --- a/sys-libs/glibc/glibc-2.18-r1.ebuild
42 +++ b/sys-libs/glibc/glibc-2.18-r1.ebuild
43 @@ -1,4 +1,4 @@
44 -# Copyright 1999-2017 Gentoo Foundation
45 +# Copyright 1999-2018 Gentoo Foundation
46 # Distributed under the terms of the GNU General Public License v2
47
48 inherit toolchain-glibc
49 @@ -27,7 +27,7 @@ GCC_BOOTSTRAP_VER="4.7.3-r1"
50 PATCH_VER="4" # Gentoo patchset
51 NPTL_KERN_VER=${NPTL_KERN_VER:-"2.6.16"} # min kernel version nptl requires
52
53 -IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
54 +IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla headers-only"
55
56 # Here's how the cross-compile logic breaks down ...
57 # CTARGET - machine that will target the binaries
58 @@ -72,7 +72,7 @@ RDEPEND="!sys-kernel/ps3-sources
59 !sys-libs/nss-db"
60
61 if [[ ${CATEGORY} == cross-* ]] ; then
62 - DEPEND+=" !crosscompile_opts_headers-only? (
63 + DEPEND+=" !headers-only? (
64 >=${CATEGORY}/binutils-2.20
65 >=${CATEGORY}/gcc-4.3
66 )"
67
68 diff --git a/sys-libs/glibc/glibc-2.19-r1.ebuild b/sys-libs/glibc/glibc-2.19-r1.ebuild
69 index 8860850c022..a2b10e2a5c1 100644
70 --- a/sys-libs/glibc/glibc-2.19-r1.ebuild
71 +++ b/sys-libs/glibc/glibc-2.19-r1.ebuild
72 @@ -1,4 +1,4 @@
73 -# Copyright 1999-2017 Gentoo Foundation
74 +# Copyright 1999-2018 Gentoo Foundation
75 # Distributed under the terms of the GNU General Public License v2
76
77 inherit toolchain-glibc
78 @@ -27,7 +27,7 @@ GCC_BOOTSTRAP_VER="4.7.3-r1"
79 PATCH_VER="3" # Gentoo patchset
80 NPTL_KERN_VER=${NPTL_KERN_VER:-"2.6.16"} # min kernel version nptl requires
81
82 -IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
83 +IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla headers-only"
84
85 # Here's how the cross-compile logic breaks down ...
86 # CTARGET - machine that will target the binaries
87 @@ -72,7 +72,7 @@ RDEPEND="!sys-kernel/ps3-sources
88 !sys-libs/nss-db"
89
90 if [[ ${CATEGORY} == cross-* ]] ; then
91 - DEPEND+=" !crosscompile_opts_headers-only? (
92 + DEPEND+=" !headers-only? (
93 >=${CATEGORY}/binutils-2.20
94 >=${CATEGORY}/gcc-4.3
95 )"
96
97 diff --git a/sys-libs/glibc/glibc-2.20-r2.ebuild b/sys-libs/glibc/glibc-2.20-r2.ebuild
98 index 04363835f61..2c35723c25b 100644
99 --- a/sys-libs/glibc/glibc-2.20-r2.ebuild
100 +++ b/sys-libs/glibc/glibc-2.20-r2.ebuild
101 @@ -1,4 +1,4 @@
102 -# Copyright 1999-2017 Gentoo Foundation
103 +# Copyright 1999-2018 Gentoo Foundation
104 # Distributed under the terms of the GNU General Public License v2
105
106 EAPI="4"
107 @@ -29,7 +29,7 @@ GCC_BOOTSTRAP_VER="4.7.3-r1"
108 PATCH_VER="5" # Gentoo patchset
109 : ${NPTL_KERN_VER:="2.6.32"} # min kernel version nptl requires
110
111 -IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
112 +IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla headers-only"
113
114 # Here's how the cross-compile logic breaks down ...
115 # CTARGET - machine that will target the binaries
116 @@ -73,7 +73,7 @@ RDEPEND="!sys-kernel/ps3-sources
117 !sys-libs/nss-db"
118
119 if [[ ${CATEGORY} == cross-* ]] ; then
120 - DEPEND+=" !crosscompile_opts_headers-only? (
121 + DEPEND+=" !headers-only? (
122 >=${CATEGORY}/binutils-2.24
123 >=${CATEGORY}/gcc-4.4
124 )"
125
126 diff --git a/sys-libs/glibc/glibc-2.21-r2.ebuild b/sys-libs/glibc/glibc-2.21-r2.ebuild
127 index 9216657a970..6db7c6a7883 100644
128 --- a/sys-libs/glibc/glibc-2.21-r2.ebuild
129 +++ b/sys-libs/glibc/glibc-2.21-r2.ebuild
130 @@ -1,4 +1,4 @@
131 -# Copyright 1999-2017 Gentoo Foundation
132 +# Copyright 1999-2018 Gentoo Foundation
133 # Distributed under the terms of the GNU General Public License v2
134
135 EAPI="4"
136 @@ -29,7 +29,7 @@ GCC_BOOTSTRAP_VER="4.7.3-r1"
137 PATCH_VER="7" # Gentoo patchset
138 : ${NPTL_KERN_VER:="2.6.32"} # min kernel version nptl requires
139
140 -IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
141 +IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla headers-only"
142
143 # Here's how the cross-compile logic breaks down ...
144 # CTARGET - machine that will target the binaries
145 @@ -73,7 +73,7 @@ RDEPEND="!sys-kernel/ps3-sources
146 !sys-libs/nss-db"
147
148 if [[ ${CATEGORY} == cross-* ]] ; then
149 - DEPEND+=" !crosscompile_opts_headers-only? (
150 + DEPEND+=" !headers-only? (
151 >=${CATEGORY}/binutils-2.24
152 >=${CATEGORY}/gcc-4.6
153 )"
154
155 diff --git a/sys-libs/glibc/glibc-2.22-r4.ebuild b/sys-libs/glibc/glibc-2.22-r4.ebuild
156 index 5949f88d64a..416fec87178 100644
157 --- a/sys-libs/glibc/glibc-2.22-r4.ebuild
158 +++ b/sys-libs/glibc/glibc-2.22-r4.ebuild
159 @@ -1,4 +1,4 @@
160 -# Copyright 1999-2017 Gentoo Foundation
161 +# Copyright 1999-2018 Gentoo Foundation
162 # Distributed under the terms of the GNU General Public License v2
163
164 EAPI="4"
165 @@ -29,7 +29,7 @@ GCC_BOOTSTRAP_VER="4.7.3-r1"
166 PATCH_VER="13" # Gentoo patchset
167 : ${NPTL_KERN_VER:="2.6.32"} # min kernel version nptl requires
168
169 -IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
170 +IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla headers-only"
171
172 # Here's how the cross-compile logic breaks down ...
173 # CTARGET - machine that will target the binaries
174 @@ -73,7 +73,7 @@ RDEPEND="!sys-kernel/ps3-sources
175 !sys-libs/nss-db"
176
177 if [[ ${CATEGORY} == cross-* ]] ; then
178 - DEPEND+=" !crosscompile_opts_headers-only? (
179 + DEPEND+=" !headers-only? (
180 >=${CATEGORY}/binutils-2.24
181 >=${CATEGORY}/gcc-4.6
182 )"
183
184 diff --git a/sys-libs/glibc/glibc-2.23-r4.ebuild b/sys-libs/glibc/glibc-2.23-r4.ebuild
185 index 01efec5a7b4..18fe392f108 100644
186 --- a/sys-libs/glibc/glibc-2.23-r4.ebuild
187 +++ b/sys-libs/glibc/glibc-2.23-r4.ebuild
188 @@ -1,4 +1,4 @@
189 -# Copyright 1999-2017 Gentoo Foundation
190 +# Copyright 1999-2018 Gentoo Foundation
191 # Distributed under the terms of the GNU General Public License v2
192
193 EAPI="5"
194 @@ -30,7 +30,7 @@ GCC_BOOTSTRAP_VER="4.7.3-r1"
195 PATCH_VER="8" # Gentoo patchset
196 : ${NPTL_KERN_VER:="2.6.32"} # min kernel version nptl requires
197
198 -IUSE="audit caps debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
199 +IUSE="audit caps debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla headers-only"
200
201 # Here's how the cross-compile logic breaks down ...
202 # CTARGET - machine that will target the binaries
203 @@ -82,7 +82,7 @@ RDEPEND="${COMMON_DEPEND}
204 !sys-libs/nss-db"
205
206 if [[ ${CATEGORY} == cross-* ]] ; then
207 - DEPEND+=" !crosscompile_opts_headers-only? (
208 + DEPEND+=" !headers-only? (
209 >=${CATEGORY}/binutils-2.24
210 >=${CATEGORY}/gcc-4.7
211 )"
212
213 diff --git a/sys-libs/glibc/glibc-2.24-r4.ebuild b/sys-libs/glibc/glibc-2.24-r4.ebuild
214 index 29a17f827ae..eb338ca1447 100644
215 --- a/sys-libs/glibc/glibc-2.24-r4.ebuild
216 +++ b/sys-libs/glibc/glibc-2.24-r4.ebuild
217 @@ -1,4 +1,4 @@
218 -# Copyright 1999-2017 Gentoo Foundation
219 +# Copyright 1999-2018 Gentoo Foundation
220 # Distributed under the terms of the GNU General Public License v2
221
222 EAPI="5"
223 @@ -30,7 +30,7 @@ GCC_BOOTSTRAP_VER="4.7.3-r1"
224 PATCH_VER="10" # Gentoo patchset
225 : ${NPTL_KERN_VER:="2.6.32"} # min kernel version nptl requires
226
227 -IUSE="audit caps debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
228 +IUSE="audit caps debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla headers-only"
229
230 # Here's how the cross-compile logic breaks down ...
231 # CTARGET - machine that will target the binaries
232 @@ -82,7 +82,7 @@ RDEPEND="${COMMON_DEPEND}
233 !sys-libs/nss-db"
234
235 if [[ ${CATEGORY} == cross-* ]] ; then
236 - DEPEND+=" !crosscompile_opts_headers-only? (
237 + DEPEND+=" !headers-only? (
238 >=${CATEGORY}/binutils-2.24
239 >=${CATEGORY}/gcc-4.7
240 )"
241
242 diff --git a/sys-libs/glibc/glibc-2.25-r10.ebuild b/sys-libs/glibc/glibc-2.25-r10.ebuild
243 index 71709c387e7..89b89e76240 100644
244 --- a/sys-libs/glibc/glibc-2.25-r10.ebuild
245 +++ b/sys-libs/glibc/glibc-2.25-r10.ebuild
246 @@ -32,7 +32,7 @@ PATCH_VER="13" # Gentoo patchset
247
248 GLIBC_PATCH_EXCLUDE+=" 0005_all_sys-types.h-drop-sys-sysmacros.h-include.patch"
249
250 -IUSE="audit caps debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
251 +IUSE="audit caps debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla headers-only"
252
253 # Here's how the cross-compile logic breaks down ...
254 # CTARGET - machine that will target the binaries
255 @@ -85,7 +85,7 @@ RDEPEND="${COMMON_DEPEND}
256 !sys-libs/nss-db"
257
258 if [[ ${CATEGORY} == cross-* ]] ; then
259 - DEPEND+=" !crosscompile_opts_headers-only? (
260 + DEPEND+=" !headers-only? (
261 >=${CATEGORY}/binutils-2.24
262 >=${CATEGORY}/gcc-4.7
263 )"
264
265 diff --git a/sys-libs/glibc/glibc-2.25-r9.ebuild b/sys-libs/glibc/glibc-2.25-r9.ebuild
266 index 62c5c1ac0cf..e31acb3be95 100644
267 --- a/sys-libs/glibc/glibc-2.25-r9.ebuild
268 +++ b/sys-libs/glibc/glibc-2.25-r9.ebuild
269 @@ -1,4 +1,4 @@
270 -# Copyright 1999-2017 Gentoo Foundation
271 +# Copyright 1999-2018 Gentoo Foundation
272 # Distributed under the terms of the GNU General Public License v2
273
274 EAPI="5"
275 @@ -32,7 +32,7 @@ PATCH_VER="12" # Gentoo patchset
276
277 GLIBC_PATCH_EXCLUDE+=" 0005_all_sys-types.h-drop-sys-sysmacros.h-include.patch"
278
279 -IUSE="audit caps debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
280 +IUSE="audit caps debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla headers-only"
281
282 # Here's how the cross-compile logic breaks down ...
283 # CTARGET - machine that will target the binaries
284 @@ -85,7 +85,7 @@ RDEPEND="${COMMON_DEPEND}
285 !sys-libs/nss-db"
286
287 if [[ ${CATEGORY} == cross-* ]] ; then
288 - DEPEND+=" !crosscompile_opts_headers-only? (
289 + DEPEND+=" !headers-only? (
290 >=${CATEGORY}/binutils-2.24
291 >=${CATEGORY}/gcc-4.7
292 )"
293
294 diff --git a/sys-libs/glibc/glibc-2.26-r3.ebuild b/sys-libs/glibc/glibc-2.26-r3.ebuild
295 index b936a612e1f..84dc10f4055 100644
296 --- a/sys-libs/glibc/glibc-2.26-r3.ebuild
297 +++ b/sys-libs/glibc/glibc-2.26-r3.ebuild
298 @@ -1,4 +1,4 @@
299 -# Copyright 1999-2017 Gentoo Foundation
300 +# Copyright 1999-2018 Gentoo Foundation
301 # Distributed under the terms of the GNU General Public License v2
302
303 EAPI=6
304 @@ -32,7 +32,7 @@ PATCH_VER=4
305 SRC_URI+=" https://dev.gentoo.org/~dilfridge/distfiles/${P}-patches-${PATCH_VER}.tar.bz2"
306 SRC_URI+=" multilib? ( https://dev.gentoo.org/~dilfridge/distfiles/gcc-${GCC_BOOTSTRAP_VER}-multilib-bootstrap.tar.bz2 )"
307
308 -IUSE="audit caps debug doc gd hardened multilib nscd selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
309 +IUSE="audit caps debug doc gd hardened multilib nscd selinux systemtap profile suid vanilla headers-only"
310
311 # Min kernel version glibc requires
312 : ${NPTL_KERN_VER:="3.2.0"}
313 @@ -89,7 +89,7 @@ RDEPEND="${COMMON_DEPEND}
314 "
315
316 if [[ ${CATEGORY} == cross-* ]] ; then
317 - DEPEND+=" !crosscompile_opts_headers-only? (
318 + DEPEND+=" !headers-only? (
319 >=${CATEGORY}/binutils-2.24
320 >=${CATEGORY}/gcc-4.9
321 )"
322
323 diff --git a/sys-libs/glibc/glibc-2.26-r5.ebuild b/sys-libs/glibc/glibc-2.26-r5.ebuild
324 index c5a076afbdb..4eb6b34679f 100644
325 --- a/sys-libs/glibc/glibc-2.26-r5.ebuild
326 +++ b/sys-libs/glibc/glibc-2.26-r5.ebuild
327 @@ -32,7 +32,7 @@ PATCH_VER=5
328 SRC_URI+=" https://dev.gentoo.org/~dilfridge/distfiles/${P}-patches-${PATCH_VER}.tar.bz2"
329 SRC_URI+=" multilib? ( https://dev.gentoo.org/~dilfridge/distfiles/gcc-${GCC_BOOTSTRAP_VER}-multilib-bootstrap.tar.bz2 )"
330
331 -IUSE="audit caps debug doc gd hardened multilib nscd selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
332 +IUSE="audit caps debug doc gd hardened multilib nscd selinux systemtap profile suid vanilla headers-only"
333
334 # Min kernel version glibc requires
335 : ${NPTL_KERN_VER:="3.2.0"}
336 @@ -89,7 +89,7 @@ RDEPEND="${COMMON_DEPEND}
337 "
338
339 if [[ ${CATEGORY} == cross-* ]] ; then
340 - DEPEND+=" !crosscompile_opts_headers-only? (
341 + DEPEND+=" !headers-only? (
342 >=${CATEGORY}/binutils-2.24
343 >=${CATEGORY}/gcc-4.9
344 )"
345
346 diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
347 index 2aed938db02..5d7f3a9fbe9 100644
348 --- a/sys-libs/glibc/glibc-9999.ebuild
349 +++ b/sys-libs/glibc/glibc-9999.ebuild
350 @@ -1,4 +1,4 @@
351 -# Copyright 1999-2017 Gentoo Foundation
352 +# Copyright 1999-2018 Gentoo Foundation
353 # Distributed under the terms of the GNU General Public License v2
354
355 EAPI=6
356 @@ -33,7 +33,7 @@ PATCH_VER="3"
357 SRC_URI+=" https://dev.gentoo.org/~dilfridge/distfiles/${P}-patches-${PATCH_VER}.tar.bz2"
358 SRC_URI+=" multilib? ( https://dev.gentoo.org/~dilfridge/distfiles/gcc-${GCC_BOOTSTRAP_VER}-multilib-bootstrap.tar.bz2 )"
359
360 -IUSE="audit caps compile-locales debug doc gd hardened multilib nscd selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
361 +IUSE="audit caps compile-locales debug doc gd hardened multilib nscd selinux systemtap profile suid vanilla headers-only"
362
363 # Min kernel version glibc requires
364 : ${NPTL_KERN_VER:="3.2.0"}
365 @@ -65,7 +65,7 @@ is_crosscompile() {
366 }
367
368 just_headers() {
369 - is_crosscompile && use crosscompile_opts_headers-only
370 + is_crosscompile && use headers-only
371 }
372
373 SLOT="2.2"
374 @@ -94,7 +94,7 @@ RDEPEND="${COMMON_DEPEND}
375 "
376
377 if [[ ${CATEGORY} == cross-* ]] ; then
378 - DEPEND+=" !crosscompile_opts_headers-only? (
379 + DEPEND+=" !headers-only? (
380 >=${CATEGORY}/binutils-2.24
381 >=${CATEGORY}/gcc-4.9
382 )"