Gentoo Archives: gentoo-dev

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-dev@l.g.o
Cc: Sergei Trofimovich <slyfox@g.o>, toolchain@g.o, embedded@g.o, kernel@g.o, bsd@g.o, blueness@g.o, lu_zero@g.o
Subject: [gentoo-dev] [PATCH] Migrate CROSSCOMPILE_OPTS=headers-only -> USE=headers-only
Date: Sat, 30 Dec 2017 18:48:42
Message-Id: 20171230184802.10775-1-slyfox@gentoo.org
1 CROSSCOMPILE_OPTS is a USE_EXPAND of a single item: headers-only.
2 Convert it to a global USE flag instead.
3
4 The changes are:
5 - mechanical ebuild rename (touches libcs and kernel headers):
6 $ sed -e 's@crosscompile_opts_headers-only@headers-only@g' \
7 -i $(git grep -l headers-only)
8 - added global 'headers-only' USE
9 - CROSSCOMPILE_OPTS USE_EXPAND is removed
10
11 'headers-only' flag is used by crossdev to bootstrap stage1 compiler
12 before libc is available.
13
14 crossdev switched to USE=headers-only in =sys-devel/crossdev-20171230.
15 After crossdev goes stable this change can go in.
16
17 CC: toolchain@g.o
18 CC: embedded@g.o
19 CC: kernel@g.o
20 CC: bsd@g.o
21 CC: blueness@g.o
22 CC: lu_zero@g.o
23 Reported-by: Michał Górny
24 Bug: https://bugs.gentoo.org/642712
25 Signed-off-by: Sergei Trofimovich <slyfox@g.o>
26 ---
27 dev-embedded/avr-libc/avr-libc-2.0.0.ebuild | 2 +-
28 dev-libs/cygwin/cygwin-1.5.25.15.ebuild | 8 ++++----
29 dev-util/mingw-runtime/mingw-runtime-3.18.ebuild | 4 ++--
30 dev-util/mingw-runtime/mingw-runtime-3.20.2.ebuild | 4 ++--
31 dev-util/mingw-runtime/mingw-runtime-3.20.ebuild | 4 ++--
32 dev-util/mingw-runtime/mingw-runtime-4.0.3.1.ebuild | 4 ++--
33 dev-util/mingw64-runtime/mingw64-runtime-3.0.0.ebuild | 4 ++--
34 dev-util/mingw64-runtime/mingw64-runtime-3.1.0.ebuild | 4 ++--
35 dev-util/mingw64-runtime/mingw64-runtime-3.2.0-r1.ebuild | 4 ++--
36 dev-util/mingw64-runtime/mingw64-runtime-4.0.1.ebuild | 4 ++--
37 dev-util/mingw64-runtime/mingw64-runtime-4.0.4.ebuild | 4 ++--
38 dev-util/mingw64-runtime/mingw64-runtime-4.0.6.ebuild | 4 ++--
39 dev-util/mingw64-runtime/mingw64-runtime-5.0.1.ebuild | 4 ++--
40 dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r1.ebuild | 4 ++--
41 dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r2.ebuild | 4 ++--
42 dev-util/mingw64-runtime/mingw64-runtime-5.0.2.ebuild | 4 ++--
43 dev-util/mingw64-runtime/mingw64-runtime-5.0.3-r1.ebuild | 4 ++--
44 dev-util/mingw64-runtime/mingw64-runtime-5.0.3.ebuild | 4 ++--
45 dev-util/w32api/w32api-3.17.2.ebuild | 4 ++--
46 dev-util/w32api/w32api-4.0.3.1.ebuild | 4 ++--
47 eclass/kernel-2.eclass | 4 ++--
48 eclass/toolchain-glibc.eclass | 2 +-
49 eclass/toolchain.eclass | 2 +-
50 profiles/base/make.defaults | 4 ++--
51 profiles/desc/crosscompile_opts.desc | 8 --------
52 profiles/embedded/make.defaults | 4 ++--
53 profiles/use.desc | 1 +
54 sys-freebsd/freebsd-lib/freebsd-lib-10.3-r3.ebuild | 6 +++---
55 sys-freebsd/freebsd-lib/freebsd-lib-11.0-r1.ebuild | 6 +++---
56 sys-freebsd/freebsd-lib/freebsd-lib-11.1.ebuild | 6 +++---
57 sys-freebsd/freebsd-lib/freebsd-lib-8.2-r1.ebuild | 6 +++---
58 sys-freebsd/freebsd-lib/freebsd-lib-9.1-r11.ebuild | 6 +++---
59 sys-libs/glibc/glibc-2.18-r1.ebuild | 4 ++--
60 sys-libs/glibc/glibc-2.19-r1.ebuild | 4 ++--
61 sys-libs/glibc/glibc-2.20-r2.ebuild | 4 ++--
62 sys-libs/glibc/glibc-2.21-r2.ebuild | 4 ++--
63 sys-libs/glibc/glibc-2.22-r4.ebuild | 4 ++--
64 sys-libs/glibc/glibc-2.23-r4.ebuild | 4 ++--
65 sys-libs/glibc/glibc-2.24-r4.ebuild | 4 ++--
66 sys-libs/glibc/glibc-2.25-r10.ebuild | 4 ++--
67 sys-libs/glibc/glibc-2.25-r9.ebuild | 4 ++--
68 sys-libs/glibc/glibc-2.26-r3.ebuild | 4 ++--
69 sys-libs/glibc/glibc-2.26-r4.ebuild | 4 ++--
70 sys-libs/glibc/glibc-9999.ebuild | 6 +++---
71 sys-libs/musl/musl-1.1.18-r1.ebuild | 4 ++--
72 sys-libs/musl/musl-1.1.18.ebuild | 4 ++--
73 sys-libs/musl/musl-9999.ebuild | 4 ++--
74 sys-libs/newlib/newlib-2.0.0.ebuild | 2 +-
75 sys-libs/newlib/newlib-2.1.0.ebuild | 2 +-
76 sys-libs/newlib/newlib-2.2.0.20150423.ebuild | 2 +-
77 sys-libs/newlib/newlib-2.2.0.ebuild | 2 +-
78 sys-libs/newlib/newlib-2.3.0.20160104.ebuild | 2 +-
79 sys-libs/newlib/newlib-2.4.0.ebuild | 2 +-
80 sys-libs/newlib/newlib-2.5.0.ebuild | 2 +-
81 sys-libs/newlib/newlib-9999.ebuild | 2 +-
82 sys-libs/uclibc-ng/uclibc-ng-1.0.25.ebuild | 4 ++--
83 sys-libs/uclibc-ng/uclibc-ng-1.0.26.ebuild | 4 ++--
84 sys-libs/uclibc-ng/uclibc-ng-1.0.27.ebuild | 4 ++--
85 sys-libs/uclibc-ng/uclibc-ng-9999.ebuild | 4 ++--
86 sys-libs/uclibc/uclibc-0.9.33.2-r15.ebuild | 4 ++--
87 sys-libs/uclibc/uclibc-0.9.33.9999.ebuild | 4 ++--
88 sys-libs/uclibc/uclibc-9999.ebuild | 4 ++--
89 62 files changed, 118 insertions(+), 125 deletions(-)
90 delete mode 100644 profiles/desc/crosscompile_opts.desc
91
92 diff --git a/dev-embedded/avr-libc/avr-libc-2.0.0.ebuild b/dev-embedded/avr-libc/avr-libc-2.0.0.ebuild
93 index 3bc1167bdf6..ece4a7aef2c 100644
94 --- a/dev-embedded/avr-libc/avr-libc-2.0.0.ebuild
95 +++ b/dev-embedded/avr-libc/avr-libc-2.0.0.ebuild
96 @@ -20,7 +20,7 @@ SLOT="0"
97 # be any other arch. See bug #620316#c5
98 # Don't add more arches to KEYWORDS.
99 KEYWORDS="amd64"
100 -IUSE="doc crosscompile_opts_headers-only"
101 +IUSE="doc headers-only"
102
103 DEPEND=">=sys-devel/crossdev-0.9.1"
104 [[ ${CATEGORY/cross-} != ${CATEGORY} ]] \
105 diff --git a/dev-libs/cygwin/cygwin-1.5.25.15.ebuild b/dev-libs/cygwin/cygwin-1.5.25.15.ebuild
106 index bc05e39d191..d533cd80dfe 100644
107 --- a/dev-libs/cygwin/cygwin-1.5.25.15.ebuild
108 +++ b/dev-libs/cygwin/cygwin-1.5.25.15.ebuild
109 @@ -15,8 +15,8 @@ W32API_BIN="3.12-1"
110 MY_P="${PN}-${PV%.*}-${PV##*.}"
111 DESCRIPTION="Linux-like environment for Windows"
112 HOMEPAGE="http://cygwin.com/"
113 -SRC_URI="!crosscompile_opts_headers-only? ( ftp://sourceware.org/pub/cygwin/release/cygwin/${MY_P}-src.tar.bz2 )
114 - crosscompile_opts_headers-only? (
115 +SRC_URI="!headers-only? ( ftp://sourceware.org/pub/cygwin/release/cygwin/${MY_P}-src.tar.bz2 )
116 + headers-only? (
117 ftp://sourceware.org/pub/cygwin/release/w32api/w32api-${W32API_BIN}.tar.bz2
118 ftp://sourceware.org/pub/cygwin/release/cygwin/${MY_P}.tar.bz2
119 )"
120 @@ -24,7 +24,7 @@ SRC_URI="!crosscompile_opts_headers-only? ( ftp://sourceware.org/pub/cygwin/rele
121 LICENSE="GPL-2"
122 SLOT="0"
123 KEYWORDS="~amd64 ~x86"
124 -IUSE="crosscompile_opts_headers-only"
125 +IUSE="headers-only"
126 RESTRICT="strip"
127
128 DEPEND=""
129 @@ -32,7 +32,7 @@ DEPEND=""
130 S=${WORKDIR}
131
132 just_headers() {
133 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
134 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
135 }
136
137 pkg_setup() {
138 diff --git a/dev-util/mingw-runtime/mingw-runtime-3.18.ebuild b/dev-util/mingw-runtime/mingw-runtime-3.18.ebuild
139 index fb7b3aaaadb..fc9140ab015 100644
140 --- a/dev-util/mingw-runtime/mingw-runtime-3.18.ebuild
141 +++ b/dev-util/mingw-runtime/mingw-runtime-3.18.ebuild
142 @@ -19,7 +19,7 @@ SRC_URI="mirror://sourceforge/mingw/${MY_P}-src.tar.gz"
143 LICENSE="BSD"
144 SLOT="0"
145 KEYWORDS="amd64 ~ppc ~sparc x86"
146 -IUSE="crosscompile_opts_headers-only"
147 +IUSE="headers-only"
148 RESTRICT="strip"
149
150 S=${WORKDIR}/${MY_P}
151 @@ -28,7 +28,7 @@ is_crosscompile() {
152 [[ ${CHOST} != ${CTARGET} ]]
153 }
154 just_headers() {
155 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
156 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
157 }
158
159 pkg_setup() {
160 diff --git a/dev-util/mingw-runtime/mingw-runtime-3.20.2.ebuild b/dev-util/mingw-runtime/mingw-runtime-3.20.2.ebuild
161 index 21f0e6d6c3b..d15d60bc5b8 100644
162 --- a/dev-util/mingw-runtime/mingw-runtime-3.20.2.ebuild
163 +++ b/dev-util/mingw-runtime/mingw-runtime-3.20.2.ebuild
164 @@ -22,7 +22,7 @@ SRC_URI="mirror://sourceforge/mingw/${MY_P}-src.tar.lzma"
165 LICENSE="BSD"
166 SLOT="0"
167 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
168 -IUSE="crosscompile_opts_headers-only"
169 +IUSE="headers-only"
170 RESTRICT="strip"
171
172 DEPEND="app-arch/xz-utils"
173 @@ -33,7 +33,7 @@ is_crosscompile() {
174 [[ ${CHOST} != ${CTARGET} ]]
175 }
176 just_headers() {
177 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
178 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
179 }
180
181 pkg_setup() {
182 diff --git a/dev-util/mingw-runtime/mingw-runtime-3.20.ebuild b/dev-util/mingw-runtime/mingw-runtime-3.20.ebuild
183 index d456e763daa..863032b622a 100644
184 --- a/dev-util/mingw-runtime/mingw-runtime-3.20.ebuild
185 +++ b/dev-util/mingw-runtime/mingw-runtime-3.20.ebuild
186 @@ -22,7 +22,7 @@ SRC_URI="mirror://sourceforge/mingw/${MY_P}-src.tar.gz"
187 LICENSE="BSD"
188 SLOT="0"
189 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
190 -IUSE="crosscompile_opts_headers-only"
191 +IUSE="headers-only"
192 RESTRICT="strip"
193
194 S=${WORKDIR}/${MY_P}
195 @@ -31,7 +31,7 @@ is_crosscompile() {
196 [[ ${CHOST} != ${CTARGET} ]]
197 }
198 just_headers() {
199 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
200 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
201 }
202
203 pkg_setup() {
204 diff --git a/dev-util/mingw-runtime/mingw-runtime-4.0.3.1.ebuild b/dev-util/mingw-runtime/mingw-runtime-4.0.3.1.ebuild
205 index 29cc5a87519..789ae8c2b27 100644
206 --- a/dev-util/mingw-runtime/mingw-runtime-4.0.3.1.ebuild
207 +++ b/dev-util/mingw-runtime/mingw-runtime-4.0.3.1.ebuild
208 @@ -23,7 +23,7 @@ LICENSE="BSD"
209 SLOT="0"
210 # Collides with w32api-4.x
211 #KEYWORDS="~amd64 ~ppc ~sparc ~x86"
212 -IUSE="crosscompile_opts_headers-only"
213 +IUSE="headers-only"
214 RESTRICT="strip"
215
216 DEPEND="app-arch/xz-utils"
217 @@ -35,7 +35,7 @@ is_crosscompile() {
218 [[ ${CHOST} != ${CTARGET} ]]
219 }
220 just_headers() {
221 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
222 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
223 }
224
225 pkg_setup() {
226 diff --git a/dev-util/mingw64-runtime/mingw64-runtime-3.0.0.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-3.0.0.ebuild
227 index ce8f87cddc9..c2c96009fd2 100644
228 --- a/dev-util/mingw64-runtime/mingw64-runtime-3.0.0.ebuild
229 +++ b/dev-util/mingw64-runtime/mingw64-runtime-3.0.0.ebuild
230 @@ -20,7 +20,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$
231 LICENSE="BSD"
232 SLOT="0"
233 KEYWORDS="~amd64 ~x86"
234 -IUSE="crosscompile_opts_headers-only idl"
235 +IUSE="headers-only idl"
236 RESTRICT="strip"
237
238 S="${WORKDIR}/mingw-w64-v${PV}"
239 @@ -29,7 +29,7 @@ is_crosscompile() {
240 [[ ${CHOST} != ${CTARGET} ]]
241 }
242 just_headers() {
243 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
244 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
245 }
246
247 pkg_setup() {
248 diff --git a/dev-util/mingw64-runtime/mingw64-runtime-3.1.0.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-3.1.0.ebuild
249 index ce8f87cddc9..c2c96009fd2 100644
250 --- a/dev-util/mingw64-runtime/mingw64-runtime-3.1.0.ebuild
251 +++ b/dev-util/mingw64-runtime/mingw64-runtime-3.1.0.ebuild
252 @@ -20,7 +20,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$
253 LICENSE="BSD"
254 SLOT="0"
255 KEYWORDS="~amd64 ~x86"
256 -IUSE="crosscompile_opts_headers-only idl"
257 +IUSE="headers-only idl"
258 RESTRICT="strip"
259
260 S="${WORKDIR}/mingw-w64-v${PV}"
261 @@ -29,7 +29,7 @@ is_crosscompile() {
262 [[ ${CHOST} != ${CTARGET} ]]
263 }
264 just_headers() {
265 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
266 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
267 }
268
269 pkg_setup() {
270 diff --git a/dev-util/mingw64-runtime/mingw64-runtime-3.2.0-r1.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-3.2.0-r1.ebuild
271 index ce8f87cddc9..c2c96009fd2 100644
272 --- a/dev-util/mingw64-runtime/mingw64-runtime-3.2.0-r1.ebuild
273 +++ b/dev-util/mingw64-runtime/mingw64-runtime-3.2.0-r1.ebuild
274 @@ -20,7 +20,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$
275 LICENSE="BSD"
276 SLOT="0"
277 KEYWORDS="~amd64 ~x86"
278 -IUSE="crosscompile_opts_headers-only idl"
279 +IUSE="headers-only idl"
280 RESTRICT="strip"
281
282 S="${WORKDIR}/mingw-w64-v${PV}"
283 @@ -29,7 +29,7 @@ is_crosscompile() {
284 [[ ${CHOST} != ${CTARGET} ]]
285 }
286 just_headers() {
287 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
288 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
289 }
290
291 pkg_setup() {
292 diff --git a/dev-util/mingw64-runtime/mingw64-runtime-4.0.1.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-4.0.1.ebuild
293 index b298a1a5304..59500c19b65 100644
294 --- a/dev-util/mingw64-runtime/mingw64-runtime-4.0.1.ebuild
295 +++ b/dev-util/mingw64-runtime/mingw64-runtime-4.0.1.ebuild
296 @@ -22,7 +22,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$
297 LICENSE="BSD"
298 SLOT="0"
299 KEYWORDS="~amd64 ~x86"
300 -IUSE="crosscompile_opts_headers-only idl libraries tools"
301 +IUSE="headers-only idl libraries tools"
302 RESTRICT="strip"
303
304 S="${WORKDIR}/mingw-w64-v${PV}"
305 @@ -31,7 +31,7 @@ is_crosscompile() {
306 [[ ${CHOST} != ${CTARGET} ]]
307 }
308 just_headers() {
309 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
310 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
311 }
312 crt_with() {
313 just_headers && echo --without-$1 || echo --with-$1
314 diff --git a/dev-util/mingw64-runtime/mingw64-runtime-4.0.4.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-4.0.4.ebuild
315 index 2fc6dd78d67..a77e0bc5fb2 100644
316 --- a/dev-util/mingw64-runtime/mingw64-runtime-4.0.4.ebuild
317 +++ b/dev-util/mingw64-runtime/mingw64-runtime-4.0.4.ebuild
318 @@ -22,7 +22,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$
319 LICENSE="BSD"
320 SLOT="0"
321 KEYWORDS="~amd64 ~x86"
322 -IUSE="crosscompile_opts_headers-only idl libraries tools"
323 +IUSE="headers-only idl libraries tools"
324 RESTRICT="strip"
325
326 S="${WORKDIR}/mingw-w64-v${PV}"
327 @@ -31,7 +31,7 @@ is_crosscompile() {
328 [[ ${CHOST} != ${CTARGET} ]]
329 }
330 just_headers() {
331 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
332 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
333 }
334 crt_with() {
335 just_headers && echo --without-$1 || echo --with-$1
336 diff --git a/dev-util/mingw64-runtime/mingw64-runtime-4.0.6.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-4.0.6.ebuild
337 index 8b0d38b204c..9243189f3b7 100644
338 --- a/dev-util/mingw64-runtime/mingw64-runtime-4.0.6.ebuild
339 +++ b/dev-util/mingw64-runtime/mingw64-runtime-4.0.6.ebuild
340 @@ -22,7 +22,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$
341 LICENSE="BSD"
342 SLOT="0"
343 KEYWORDS="~amd64 ~x86"
344 -IUSE="crosscompile_opts_headers-only idl libraries tools"
345 +IUSE="headers-only idl libraries tools"
346 RESTRICT="strip"
347
348 S="${WORKDIR}/mingw-w64-v${PV}"
349 @@ -31,7 +31,7 @@ is_crosscompile() {
350 [[ ${CHOST} != ${CTARGET} ]]
351 }
352 just_headers() {
353 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
354 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
355 }
356 crt_with() {
357 just_headers && echo --without-$1 || echo --with-$1
358 diff --git a/dev-util/mingw64-runtime/mingw64-runtime-5.0.1.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-5.0.1.ebuild
359 index 408aa8d8e7b..11fc903414b 100644
360 --- a/dev-util/mingw64-runtime/mingw64-runtime-5.0.1.ebuild
361 +++ b/dev-util/mingw64-runtime/mingw64-runtime-5.0.1.ebuild
362 @@ -22,7 +22,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$
363 LICENSE="BSD"
364 SLOT="0"
365 KEYWORDS="~amd64 ~x86"
366 -IUSE="crosscompile_opts_headers-only idl libraries tools"
367 +IUSE="headers-only idl libraries tools"
368 RESTRICT="strip"
369
370 S="${WORKDIR}/mingw-w64-v${PV}"
371 @@ -36,7 +36,7 @@ is_crosscompile() {
372 [[ ${CHOST} != ${CTARGET} ]]
373 }
374 just_headers() {
375 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
376 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
377 }
378 crt_with() {
379 just_headers && echo --without-$1 || echo --with-$1
380 diff --git a/dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r1.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r1.ebuild
381 index 534091fe654..ff736d820e8 100644
382 --- a/dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r1.ebuild
383 +++ b/dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r1.ebuild
384 @@ -22,7 +22,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$
385 LICENSE="BSD"
386 SLOT="0"
387 KEYWORDS="~amd64 ~x86"
388 -IUSE="crosscompile_opts_headers-only idl libraries tools"
389 +IUSE="headers-only idl libraries tools"
390 RESTRICT="strip"
391
392 S="${WORKDIR}/mingw-w64-v${PV}"
393 @@ -37,7 +37,7 @@ is_crosscompile() {
394 [[ ${CHOST} != ${CTARGET} ]]
395 }
396 just_headers() {
397 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
398 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
399 }
400 crt_with() {
401 just_headers && echo --without-$1 || echo --with-$1
402 diff --git a/dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r2.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r2.ebuild
403 index 0edd83c0035..be2dcba5be3 100644
404 --- a/dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r2.ebuild
405 +++ b/dev-util/mingw64-runtime/mingw64-runtime-5.0.2-r2.ebuild
406 @@ -22,7 +22,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$
407 LICENSE="BSD"
408 SLOT="0"
409 KEYWORDS="~amd64 ~x86"
410 -IUSE="crosscompile_opts_headers-only idl libraries tools"
411 +IUSE="headers-only idl libraries tools"
412 RESTRICT="strip"
413
414 S="${WORKDIR}/mingw-w64-v${PV}"
415 @@ -38,7 +38,7 @@ is_crosscompile() {
416 [[ ${CHOST} != ${CTARGET} ]]
417 }
418 just_headers() {
419 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
420 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
421 }
422 crt_with() {
423 just_headers && echo --without-$1 || echo --with-$1
424 diff --git a/dev-util/mingw64-runtime/mingw64-runtime-5.0.2.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-5.0.2.ebuild
425 index 408aa8d8e7b..11fc903414b 100644
426 --- a/dev-util/mingw64-runtime/mingw64-runtime-5.0.2.ebuild
427 +++ b/dev-util/mingw64-runtime/mingw64-runtime-5.0.2.ebuild
428 @@ -22,7 +22,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$
429 LICENSE="BSD"
430 SLOT="0"
431 KEYWORDS="~amd64 ~x86"
432 -IUSE="crosscompile_opts_headers-only idl libraries tools"
433 +IUSE="headers-only idl libraries tools"
434 RESTRICT="strip"
435
436 S="${WORKDIR}/mingw-w64-v${PV}"
437 @@ -36,7 +36,7 @@ is_crosscompile() {
438 [[ ${CHOST} != ${CTARGET} ]]
439 }
440 just_headers() {
441 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
442 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
443 }
444 crt_with() {
445 just_headers && echo --without-$1 || echo --with-$1
446 diff --git a/dev-util/mingw64-runtime/mingw64-runtime-5.0.3-r1.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-5.0.3-r1.ebuild
447 index 1b9f05639b8..184b96411d9 100644
448 --- a/dev-util/mingw64-runtime/mingw64-runtime-5.0.3-r1.ebuild
449 +++ b/dev-util/mingw64-runtime/mingw64-runtime-5.0.3-r1.ebuild
450 @@ -22,7 +22,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$
451 LICENSE="BSD"
452 SLOT="0"
453 KEYWORDS="~amd64 ~x86"
454 -IUSE="crosscompile_opts_headers-only idl libraries tools"
455 +IUSE="headers-only idl libraries tools"
456 RESTRICT="strip"
457
458 S="${WORKDIR}/mingw-w64-v${PV}"
459 @@ -35,7 +35,7 @@ is_crosscompile() {
460 [[ ${CHOST} != ${CTARGET} ]]
461 }
462 just_headers() {
463 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
464 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
465 }
466 crt_with() {
467 just_headers && echo --without-$1 || echo --with-$1
468 diff --git a/dev-util/mingw64-runtime/mingw64-runtime-5.0.3.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-5.0.3.ebuild
469 index a21054499a0..0b21bed2eea 100644
470 --- a/dev-util/mingw64-runtime/mingw64-runtime-5.0.3.ebuild
471 +++ b/dev-util/mingw64-runtime/mingw64-runtime-5.0.3.ebuild
472 @@ -22,7 +22,7 @@ SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v$
473 LICENSE="BSD"
474 SLOT="0"
475 KEYWORDS="~amd64 ~x86"
476 -IUSE="crosscompile_opts_headers-only idl libraries tools"
477 +IUSE="headers-only idl libraries tools"
478 RESTRICT="strip"
479
480 S="${WORKDIR}/mingw-w64-v${PV}"
481 @@ -35,7 +35,7 @@ is_crosscompile() {
482 [[ ${CHOST} != ${CTARGET} ]]
483 }
484 just_headers() {
485 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
486 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
487 }
488 crt_with() {
489 just_headers && echo --without-$1 || echo --with-$1
490 diff --git a/dev-util/w32api/w32api-3.17.2.ebuild b/dev-util/w32api/w32api-3.17.2.ebuild
491 index c04ebdcfad7..65d6ddfc5de 100644
492 --- a/dev-util/w32api/w32api-3.17.2.ebuild
493 +++ b/dev-util/w32api/w32api-3.17.2.ebuild
494 @@ -20,7 +20,7 @@ SRC_URI="mirror://sourceforge/mingw/${MY_P}-src.tar.lzma"
495 LICENSE="BSD"
496 SLOT="0"
497 KEYWORDS="amd64 ~ppc ~sparc x86"
498 -IUSE="crosscompile_opts_headers-only"
499 +IUSE="headers-only"
500 RESTRICT="strip"
501
502 DEPEND="app-arch/xz-utils"
503 @@ -29,7 +29,7 @@ RDEPEND=""
504 S=${WORKDIR}/${MY_P}
505
506 just_headers() {
507 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
508 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
509 }
510
511 pkg_setup() {
512 diff --git a/dev-util/w32api/w32api-4.0.3.1.ebuild b/dev-util/w32api/w32api-4.0.3.1.ebuild
513 index 0d8deb3895a..4ba9dc7b032 100644
514 --- a/dev-util/w32api/w32api-4.0.3.1.ebuild
515 +++ b/dev-util/w32api/w32api-4.0.3.1.ebuild
516 @@ -23,7 +23,7 @@ LICENSE="BSD"
517 SLOT="0"
518 # Collides with mingw-runtime-4.x
519 #KEYWORDS="~amd64 ~ppc ~sparc ~x86"
520 -IUSE="crosscompile_opts_headers-only"
521 +IUSE="headers-only"
522 RESTRICT="strip"
523
524 DEPEND="app-arch/xz-utils"
525 @@ -32,7 +32,7 @@ RDEPEND=""
526 S=${WORKDIR}/${MY_P/-m/.m}-src
527
528 just_headers() {
529 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
530 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
531 }
532
533 pkg_setup() {
534 diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
535 index 84909f30ca3..bcbbc1fc4cc 100644
536 --- a/eclass/kernel-2.eclass
537 +++ b/eclass/kernel-2.eclass
538 @@ -667,7 +667,7 @@ if [[ ${ETYPE} == sources ]]; then
539
540 elif [[ ${ETYPE} == headers ]]; then
541 DESCRIPTION="Linux system headers"
542 - IUSE="crosscompile_opts_headers-only"
543 + IUSE="headers-only"
544
545 # Since we should NOT honour KBUILD_OUTPUT in headers
546 # lets unset it here.
547 @@ -693,7 +693,7 @@ kernel_header_destdir() {
548 # @DESCRIPTION:
549 # set use if necessary for cross compile support
550 cross_pre_c_headers() {
551 - use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
552 + use headers-only && [[ ${CHOST} != ${CTARGET} ]]
553 }
554
555 # @FUNCTION: env_setup_xmakeopts
556 diff --git a/eclass/toolchain-glibc.eclass b/eclass/toolchain-glibc.eclass
557 index d9c692f2ad8..fb7092daa97 100644
558 --- a/eclass/toolchain-glibc.eclass
559 +++ b/eclass/toolchain-glibc.eclass
560 @@ -398,7 +398,7 @@ foreach_abi() {
561 }
562
563 just_headers() {
564 - is_crosscompile && use crosscompile_opts_headers-only
565 + is_crosscompile && use headers-only
566 }
567
568 glibc_banner() {
569 diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
570 index a038303ec7f..e88ad299e9c 100644
571 --- a/eclass/toolchain.eclass
572 +++ b/eclass/toolchain.eclass
573 @@ -998,7 +998,7 @@ toolchain_src_configure() {
574 --disable-threads
575 --without-headers
576 )
577 - elif built_with_use --hidden --missing false ${CATEGORY}/${needed_libc} crosscompile_opts_headers-only ; then
578 + elif built_with_use --hidden --missing false ${CATEGORY}/${needed_libc} headers-only ; then
579 confgcc+=(
580 "${confgcc_no_libc[@]}"
581 --with-sysroot="${PREFIX}"/${CTARGET}
582 diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults
583 index db5f5389791..8df5fb60cb0 100644
584 --- a/profiles/base/make.defaults
585 +++ b/profiles/base/make.defaults
586 @@ -13,11 +13,11 @@ USE_EXPAND_VALUES_USERLAND="BSD GNU"
587
588 # Env vars to expand into USE vars. Modifying this requires prior
589 # discussion on gentoo-dev@l.g.o.
590 -USE_EXPAND="ABI_MIPS ABI_PPC ABI_S390 ABI_X86 ALSA_CARDS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CALLIGRA_EXPERIMENTAL_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_X86 CROSSCOMPILE_OPTS CURL_SSL ELIBC ENLIGHTENMENT_MODULES FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS LINGUAS LIRC_DEVICES LLVM_TARGETS MONKEYD_PLUGINS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS ROS_MESSAGES RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS"
591 +USE_EXPAND="ABI_MIPS ABI_PPC ABI_S390 ABI_X86 ALSA_CARDS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CALLIGRA_EXPERIMENTAL_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_X86 CURL_SSL ELIBC ENLIGHTENMENT_MODULES FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS LINGUAS LIRC_DEVICES LLVM_TARGETS MONKEYD_PLUGINS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS ROS_MESSAGES RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS"
592
593 # USE_EXPAND variables whose contents are not shown in package manager
594 # output. Changes need discussion on gentoo-dev.
595 -USE_EXPAND_HIDDEN="USERLAND KERNEL ELIBC CROSSCOMPILE_OPTS ABI_MIPS ABI_PPC ABI_S390 ABI_X86 CPU_FLAGS_ARM CPU_FLAGS_X86"
596 +USE_EXPAND_HIDDEN="USERLAND KERNEL ELIBC ABI_MIPS ABI_PPC ABI_S390 ABI_X86 CPU_FLAGS_ARM CPU_FLAGS_X86"
597
598 CONFIG_PROTECT="/etc"
599 CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
600 diff --git a/profiles/desc/crosscompile_opts.desc b/profiles/desc/crosscompile_opts.desc
601 deleted file mode 100644
602 index 1923d8b13e8..00000000000
603 --- a/profiles/desc/crosscompile_opts.desc
604 +++ /dev/null
605 @@ -1,8 +0,0 @@
606 -# Copyright 1999-2017 Gentoo Foundation
607 -# Distributed under the terms of the GNU General Public License v2
608 -
609 -# This file contains descriptions of CROSSCOMPILE_OPTS USE_EXPAND flags.
610 -
611 -# Keep it sorted.
612 -
613 -headers-only - Build the toolchain against cross-headers only.
614 diff --git a/profiles/embedded/make.defaults b/profiles/embedded/make.defaults
615 index 1145142fe4a..77bdb2645cd 100644
616 --- a/profiles/embedded/make.defaults
617 +++ b/profiles/embedded/make.defaults
618 @@ -27,11 +27,11 @@ USE_EXPAND_VALUES_USERLAND="BSD GNU"
619
620 # Env vars to expand into USE vars. Modifying this requires prior
621 # discussion on gentoo-dev@l.g.o.
622 -USE_EXPAND="ABI_MIPS ABI_PPC ABI_S390 ABI_X86 ALSA_CARDS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_X86 CROSSCOMPILE_OPTS CURL_SSL ELIBC ENLIGHTENMENT_MODULES FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS LINGUAS LIRC_DEVICES LLVM_TARGETS MONKEYD_PLUGINS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS ROS_MESSAGES RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS"
623 +USE_EXPAND="ABI_MIPS ABI_PPC ABI_S390 ABI_X86 ALSA_CARDS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_X86 CURL_SSL ELIBC ENLIGHTENMENT_MODULES FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS LINGUAS LIRC_DEVICES LLVM_TARGETS MONKEYD_PLUGINS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS POSTGRES_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS ROS_MESSAGES RUBY_TARGETS SANE_BACKENDS USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS"
624
625 # USE_EXPAND variables whose contents are not shown in package manager
626 # output. Changes need discussion on gentoo-dev.
627 -USE_EXPAND_HIDDEN="USERLAND KERNEL ELIBC CROSSCOMPILE_OPTS ABI_MIPS ABI_PPC ABI_S390 ABI_X86 CPU_FLAGS_ARM CPU_FLAGS_X86"
628 +USE_EXPAND_HIDDEN="USERLAND KERNEL ELIBC ABI_MIPS ABI_PPC ABI_S390 ABI_X86 CPU_FLAGS_ARM CPU_FLAGS_X86"
629
630 # Variables that are set exclusively by the profile
631 # and not by user configuration files.
632 diff --git a/profiles/use.desc b/profiles/use.desc
633 index 40c9747f2b5..bffd3b60d94 100644
634 --- a/profiles/use.desc
635 +++ b/profiles/use.desc
636 @@ -135,6 +135,7 @@ handbook - Enable handbooks generation for packages by KDE
637 hardened - Activate default security enhancements for toolchain (gcc, glibc, binutils)
638 hddtemp - Enable monitoring of hdd temperature (app-admin/hddtemp)
639 hdf5 - Add support for the Hierarchical Data Format v5
640 +headers-only - Install only C headers instead of whole package. Mainly used by sys-devel/crossdev for toolchain bootstrap.
641 hscolour - Include coloured haskell sources to generated documentation (dev-haskell/hscolour)
642 ibm - Add support for IBM ppc64 specific systems
643 iconv - Enable support for the iconv character set conversion library
644 diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-10.3-r3.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-10.3-r3.ebuild
645 index 96b62502268..b6b4942bd1e 100644
646 --- a/sys-freebsd/freebsd-lib/freebsd-lib-10.3-r3.ebuild
647 +++ b/sys-freebsd/freebsd-lib/freebsd-lib-10.3-r3.ebuild
648 @@ -71,7 +71,7 @@ if [ "${CTARGET}" = "${CHOST}" -a "${CATEGORY#*cross-}" != "${CATEGORY}" ]; then
649 fi
650
651 IUSE="atm bluetooth ssl hesiod ipv6 kerberos usb netware
652 - build crosscompile_opts_headers-only zfs
653 + build headers-only zfs
654 userland_GNU userland_BSD"
655
656 QA_DT_NEEDED="lib/libc.so.7 usr/lib32/libc.so.7"
657 @@ -374,7 +374,7 @@ src_compile() {
658 cd "${WORKDIR}/include"
659 $(freebsd_get_bmake) CC="$(tc-getCC)" || die "make include failed"
660
661 - use crosscompile_opts_headers-only && return 0
662 + use headers-only && return 0
663
664 # Bug #270098
665 append-flags $(test-flags -fno-strict-aliasing)
666 @@ -504,7 +504,7 @@ do_install() {
667 CTARGET="${CHOST}" \
668 install_includes ${INCLUDEDIR}
669
670 - is_crosscompile && use crosscompile_opts_headers-only && return 0
671 + is_crosscompile && use headers-only && return 0
672
673 # Install a libusb.pc for better compat with Linux's libusb
674 if use usb ; then
675 diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-11.0-r1.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-11.0-r1.ebuild
676 index 24c62627e2a..aede185dc64 100644
677 --- a/sys-freebsd/freebsd-lib/freebsd-lib-11.0-r1.ebuild
678 +++ b/sys-freebsd/freebsd-lib/freebsd-lib-11.0-r1.ebuild
679 @@ -70,7 +70,7 @@ if [ "${CTARGET}" = "${CHOST}" -a "${CATEGORY#*cross-}" != "${CATEGORY}" ]; then
680 fi
681
682 IUSE="atm bluetooth ssl hesiod ipv6 kerberos usb netware
683 - build crosscompile_opts_headers-only zfs
684 + build headers-only zfs
685 userland_GNU userland_BSD"
686
687 QA_DT_NEEDED="lib/libc.so.7 usr/lib32/libc.so.7"
688 @@ -368,7 +368,7 @@ src_compile() {
689 cd "${WORKDIR}/include"
690 $(freebsd_get_bmake) CC="$(tc-getCC)" SRCTOP="${WORKDIR}" || die "make include failed"
691
692 - use crosscompile_opts_headers-only && return 0
693 + use headers-only && return 0
694
695 # Bug #270098
696 append-flags $(test-flags -fno-strict-aliasing)
697 @@ -498,7 +498,7 @@ do_install() {
698 CTARGET="${CHOST}" \
699 install_includes ${INCLUDEDIR}
700
701 - is_crosscompile && use crosscompile_opts_headers-only && return 0
702 + is_crosscompile && use headers-only && return 0
703
704 # Install a libusb.pc for better compat with Linux's libusb
705 if use usb ; then
706 diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-11.1.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-11.1.ebuild
707 index a1e2b461df4..f7ffe3e6e13 100644
708 --- a/sys-freebsd/freebsd-lib/freebsd-lib-11.1.ebuild
709 +++ b/sys-freebsd/freebsd-lib/freebsd-lib-11.1.ebuild
710 @@ -72,7 +72,7 @@ if [ "${CTARGET}" = "${CHOST}" -a "${CATEGORY#*cross-}" != "${CATEGORY}" ]; then
711 fi
712
713 IUSE="atm bluetooth ssl hesiod ipv6 kerberos usb netware
714 - build crosscompile_opts_headers-only zfs pam xinetd
715 + build headers-only zfs pam xinetd
716 userland_GNU userland_BSD"
717
718 QA_DT_NEEDED="lib/libc.so.7 usr/lib32/libc.so.7"
719 @@ -416,7 +416,7 @@ src_compile() {
720 cd "${WORKDIR}/include"
721 $(freebsd_get_bmake) CC="$(tc-getCC)" SRCTOP="${WORKDIR}" || die "make include failed"
722
723 - use crosscompile_opts_headers-only && return 0
724 + use headers-only && return 0
725
726 # Bug #270098
727 append-flags $(test-flags -fno-strict-aliasing)
728 @@ -547,7 +547,7 @@ do_install() {
729 CTARGET="${CHOST}" \
730 install_includes ${INCLUDEDIR}
731
732 - is_crosscompile && use crosscompile_opts_headers-only && return 0
733 + is_crosscompile && use headers-only && return 0
734
735 # Install a libusb.pc for better compat with Linux's libusb
736 if use usb ; then
737 diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-8.2-r1.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-8.2-r1.ebuild
738 index 755c53b8497..1643df35bd3 100644
739 --- a/sys-freebsd/freebsd-lib/freebsd-lib-8.2-r1.ebuild
740 +++ b/sys-freebsd/freebsd-lib/freebsd-lib-8.2-r1.ebuild
741 @@ -51,7 +51,7 @@ if [ "${CTARGET}" = "${CHOST}" -a "${CATEGORY#*cross-}" != "${CATEGORY}" ]; then
742 fi
743
744 IUSE="atm bluetooth ssl hesiod ipv6 kerberos usb netware
745 - build bootstrap crosscompile_opts_headers-only"
746 + build bootstrap headers-only"
747
748 pkg_setup() {
749 [ -c /dev/zero ] || \
750 @@ -193,7 +193,7 @@ src_compile() {
751 cd "${WORKDIR}/include"
752 $(freebsd_get_bmake) CC="$(tc-getCC)" || die "make include failed"
753
754 - use crosscompile_opts_headers-only && return 0
755 + use headers-only && return 0
756
757 # Bug #270098
758 append-flags $(test-flags -fno-strict-aliasing)
759 @@ -275,7 +275,7 @@ src_install() {
760 doins "${S}/msun/src/math.h"
761 fi
762
763 - use crosscompile_opts_headers-only && return 0
764 + use headers-only && return 0
765 local mylibdir=$(get_libdir)
766
767 if [ "${CTARGET}" != "${CHOST}" ]; then
768 diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-9.1-r11.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-9.1-r11.ebuild
769 index 8eee4f7d190..44d4aa0baed 100644
770 --- a/sys-freebsd/freebsd-lib/freebsd-lib-9.1-r11.ebuild
771 +++ b/sys-freebsd/freebsd-lib/freebsd-lib-9.1-r11.ebuild
772 @@ -54,7 +54,7 @@ if [ "${CTARGET}" = "${CHOST}" -a "${CATEGORY#*cross-}" != "${CATEGORY}" ]; then
773 fi
774
775 IUSE="atm bluetooth ssl hesiod ipv6 kerberos usb netware
776 - build crosscompile_opts_headers-only zfs
777 + build headers-only zfs
778 userland_GNU userland_BSD"
779
780 QA_DT_NEEDED="lib/libc.so.7 usr/lib32/libc.so.7"
781 @@ -358,7 +358,7 @@ src_compile() {
782 cd "${WORKDIR}/include"
783 $(freebsd_get_bmake) CC="$(tc-getCC)" || die "make include failed"
784
785 - use crosscompile_opts_headers-only && return 0
786 + use headers-only && return 0
787
788 # Bug #270098
789 append-flags $(test-flags -fno-strict-aliasing)
790 @@ -485,7 +485,7 @@ do_install() {
791 CTARGET="${CHOST}" \
792 install_includes ${INCLUDEDIR}
793
794 - is_crosscompile && use crosscompile_opts_headers-only && return 0
795 + is_crosscompile && use headers-only && return 0
796
797 for i in $(get_subdirs) ; do
798 einfo "Installing in ${i}..."
799 diff --git a/sys-libs/glibc/glibc-2.18-r1.ebuild b/sys-libs/glibc/glibc-2.18-r1.ebuild
800 index a9c0bfc2c2b..e02d58f31cf 100644
801 --- a/sys-libs/glibc/glibc-2.18-r1.ebuild
802 +++ b/sys-libs/glibc/glibc-2.18-r1.ebuild
803 @@ -27,7 +27,7 @@ GCC_BOOTSTRAP_VER="4.7.3-r1"
804 PATCH_VER="4" # Gentoo patchset
805 NPTL_KERN_VER=${NPTL_KERN_VER:-"2.6.16"} # min kernel version nptl requires
806
807 -IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
808 +IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla headers-only"
809
810 # Here's how the cross-compile logic breaks down ...
811 # CTARGET - machine that will target the binaries
812 @@ -72,7 +72,7 @@ RDEPEND="!sys-kernel/ps3-sources
813 !sys-libs/nss-db"
814
815 if [[ ${CATEGORY} == cross-* ]] ; then
816 - DEPEND+=" !crosscompile_opts_headers-only? (
817 + DEPEND+=" !headers-only? (
818 >=${CATEGORY}/binutils-2.20
819 >=${CATEGORY}/gcc-4.3
820 )"
821 diff --git a/sys-libs/glibc/glibc-2.19-r1.ebuild b/sys-libs/glibc/glibc-2.19-r1.ebuild
822 index 8860850c022..e6eebb4dd97 100644
823 --- a/sys-libs/glibc/glibc-2.19-r1.ebuild
824 +++ b/sys-libs/glibc/glibc-2.19-r1.ebuild
825 @@ -27,7 +27,7 @@ GCC_BOOTSTRAP_VER="4.7.3-r1"
826 PATCH_VER="3" # Gentoo patchset
827 NPTL_KERN_VER=${NPTL_KERN_VER:-"2.6.16"} # min kernel version nptl requires
828
829 -IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
830 +IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla headers-only"
831
832 # Here's how the cross-compile logic breaks down ...
833 # CTARGET - machine that will target the binaries
834 @@ -72,7 +72,7 @@ RDEPEND="!sys-kernel/ps3-sources
835 !sys-libs/nss-db"
836
837 if [[ ${CATEGORY} == cross-* ]] ; then
838 - DEPEND+=" !crosscompile_opts_headers-only? (
839 + DEPEND+=" !headers-only? (
840 >=${CATEGORY}/binutils-2.20
841 >=${CATEGORY}/gcc-4.3
842 )"
843 diff --git a/sys-libs/glibc/glibc-2.20-r2.ebuild b/sys-libs/glibc/glibc-2.20-r2.ebuild
844 index 04363835f61..09d71f3bf14 100644
845 --- a/sys-libs/glibc/glibc-2.20-r2.ebuild
846 +++ b/sys-libs/glibc/glibc-2.20-r2.ebuild
847 @@ -29,7 +29,7 @@ GCC_BOOTSTRAP_VER="4.7.3-r1"
848 PATCH_VER="5" # Gentoo patchset
849 : ${NPTL_KERN_VER:="2.6.32"} # min kernel version nptl requires
850
851 -IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
852 +IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla headers-only"
853
854 # Here's how the cross-compile logic breaks down ...
855 # CTARGET - machine that will target the binaries
856 @@ -73,7 +73,7 @@ RDEPEND="!sys-kernel/ps3-sources
857 !sys-libs/nss-db"
858
859 if [[ ${CATEGORY} == cross-* ]] ; then
860 - DEPEND+=" !crosscompile_opts_headers-only? (
861 + DEPEND+=" !headers-only? (
862 >=${CATEGORY}/binutils-2.24
863 >=${CATEGORY}/gcc-4.4
864 )"
865 diff --git a/sys-libs/glibc/glibc-2.21-r2.ebuild b/sys-libs/glibc/glibc-2.21-r2.ebuild
866 index 9216657a970..243124cd780 100644
867 --- a/sys-libs/glibc/glibc-2.21-r2.ebuild
868 +++ b/sys-libs/glibc/glibc-2.21-r2.ebuild
869 @@ -29,7 +29,7 @@ GCC_BOOTSTRAP_VER="4.7.3-r1"
870 PATCH_VER="7" # Gentoo patchset
871 : ${NPTL_KERN_VER:="2.6.32"} # min kernel version nptl requires
872
873 -IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
874 +IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla headers-only"
875
876 # Here's how the cross-compile logic breaks down ...
877 # CTARGET - machine that will target the binaries
878 @@ -73,7 +73,7 @@ RDEPEND="!sys-kernel/ps3-sources
879 !sys-libs/nss-db"
880
881 if [[ ${CATEGORY} == cross-* ]] ; then
882 - DEPEND+=" !crosscompile_opts_headers-only? (
883 + DEPEND+=" !headers-only? (
884 >=${CATEGORY}/binutils-2.24
885 >=${CATEGORY}/gcc-4.6
886 )"
887 diff --git a/sys-libs/glibc/glibc-2.22-r4.ebuild b/sys-libs/glibc/glibc-2.22-r4.ebuild
888 index 5949f88d64a..5a69c926b15 100644
889 --- a/sys-libs/glibc/glibc-2.22-r4.ebuild
890 +++ b/sys-libs/glibc/glibc-2.22-r4.ebuild
891 @@ -29,7 +29,7 @@ GCC_BOOTSTRAP_VER="4.7.3-r1"
892 PATCH_VER="13" # Gentoo patchset
893 : ${NPTL_KERN_VER:="2.6.32"} # min kernel version nptl requires
894
895 -IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
896 +IUSE="debug gd hardened multilib nscd selinux systemtap profile suid vanilla headers-only"
897
898 # Here's how the cross-compile logic breaks down ...
899 # CTARGET - machine that will target the binaries
900 @@ -73,7 +73,7 @@ RDEPEND="!sys-kernel/ps3-sources
901 !sys-libs/nss-db"
902
903 if [[ ${CATEGORY} == cross-* ]] ; then
904 - DEPEND+=" !crosscompile_opts_headers-only? (
905 + DEPEND+=" !headers-only? (
906 >=${CATEGORY}/binutils-2.24
907 >=${CATEGORY}/gcc-4.6
908 )"
909 diff --git a/sys-libs/glibc/glibc-2.23-r4.ebuild b/sys-libs/glibc/glibc-2.23-r4.ebuild
910 index 01efec5a7b4..7f226d9e42e 100644
911 --- a/sys-libs/glibc/glibc-2.23-r4.ebuild
912 +++ b/sys-libs/glibc/glibc-2.23-r4.ebuild
913 @@ -30,7 +30,7 @@ GCC_BOOTSTRAP_VER="4.7.3-r1"
914 PATCH_VER="8" # Gentoo patchset
915 : ${NPTL_KERN_VER:="2.6.32"} # min kernel version nptl requires
916
917 -IUSE="audit caps debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
918 +IUSE="audit caps debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla headers-only"
919
920 # Here's how the cross-compile logic breaks down ...
921 # CTARGET - machine that will target the binaries
922 @@ -82,7 +82,7 @@ RDEPEND="${COMMON_DEPEND}
923 !sys-libs/nss-db"
924
925 if [[ ${CATEGORY} == cross-* ]] ; then
926 - DEPEND+=" !crosscompile_opts_headers-only? (
927 + DEPEND+=" !headers-only? (
928 >=${CATEGORY}/binutils-2.24
929 >=${CATEGORY}/gcc-4.7
930 )"
931 diff --git a/sys-libs/glibc/glibc-2.24-r4.ebuild b/sys-libs/glibc/glibc-2.24-r4.ebuild
932 index 29a17f827ae..f5828fd5a56 100644
933 --- a/sys-libs/glibc/glibc-2.24-r4.ebuild
934 +++ b/sys-libs/glibc/glibc-2.24-r4.ebuild
935 @@ -30,7 +30,7 @@ GCC_BOOTSTRAP_VER="4.7.3-r1"
936 PATCH_VER="10" # Gentoo patchset
937 : ${NPTL_KERN_VER:="2.6.32"} # min kernel version nptl requires
938
939 -IUSE="audit caps debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
940 +IUSE="audit caps debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla headers-only"
941
942 # Here's how the cross-compile logic breaks down ...
943 # CTARGET - machine that will target the binaries
944 @@ -82,7 +82,7 @@ RDEPEND="${COMMON_DEPEND}
945 !sys-libs/nss-db"
946
947 if [[ ${CATEGORY} == cross-* ]] ; then
948 - DEPEND+=" !crosscompile_opts_headers-only? (
949 + DEPEND+=" !headers-only? (
950 >=${CATEGORY}/binutils-2.24
951 >=${CATEGORY}/gcc-4.7
952 )"
953 diff --git a/sys-libs/glibc/glibc-2.25-r10.ebuild b/sys-libs/glibc/glibc-2.25-r10.ebuild
954 index e8d62b3ad2d..cd7dca5e8bb 100644
955 --- a/sys-libs/glibc/glibc-2.25-r10.ebuild
956 +++ b/sys-libs/glibc/glibc-2.25-r10.ebuild
957 @@ -32,7 +32,7 @@ PATCH_VER="13" # Gentoo patchset
958
959 GLIBC_PATCH_EXCLUDE+=" 0005_all_sys-types.h-drop-sys-sysmacros.h-include.patch"
960
961 -IUSE="audit caps debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
962 +IUSE="audit caps debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla headers-only"
963
964 # Here's how the cross-compile logic breaks down ...
965 # CTARGET - machine that will target the binaries
966 @@ -85,7 +85,7 @@ RDEPEND="${COMMON_DEPEND}
967 !sys-libs/nss-db"
968
969 if [[ ${CATEGORY} == cross-* ]] ; then
970 - DEPEND+=" !crosscompile_opts_headers-only? (
971 + DEPEND+=" !headers-only? (
972 >=${CATEGORY}/binutils-2.24
973 >=${CATEGORY}/gcc-4.7
974 )"
975 diff --git a/sys-libs/glibc/glibc-2.25-r9.ebuild b/sys-libs/glibc/glibc-2.25-r9.ebuild
976 index 62c5c1ac0cf..bea68e7ab8a 100644
977 --- a/sys-libs/glibc/glibc-2.25-r9.ebuild
978 +++ b/sys-libs/glibc/glibc-2.25-r9.ebuild
979 @@ -32,7 +32,7 @@ PATCH_VER="12" # Gentoo patchset
980
981 GLIBC_PATCH_EXCLUDE+=" 0005_all_sys-types.h-drop-sys-sysmacros.h-include.patch"
982
983 -IUSE="audit caps debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
984 +IUSE="audit caps debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla headers-only"
985
986 # Here's how the cross-compile logic breaks down ...
987 # CTARGET - machine that will target the binaries
988 @@ -85,7 +85,7 @@ RDEPEND="${COMMON_DEPEND}
989 !sys-libs/nss-db"
990
991 if [[ ${CATEGORY} == cross-* ]] ; then
992 - DEPEND+=" !crosscompile_opts_headers-only? (
993 + DEPEND+=" !headers-only? (
994 >=${CATEGORY}/binutils-2.24
995 >=${CATEGORY}/gcc-4.7
996 )"
997 diff --git a/sys-libs/glibc/glibc-2.26-r3.ebuild b/sys-libs/glibc/glibc-2.26-r3.ebuild
998 index b936a612e1f..7b58a82dac6 100644
999 --- a/sys-libs/glibc/glibc-2.26-r3.ebuild
1000 +++ b/sys-libs/glibc/glibc-2.26-r3.ebuild
1001 @@ -32,7 +32,7 @@ PATCH_VER=4
1002 SRC_URI+=" https://dev.gentoo.org/~dilfridge/distfiles/${P}-patches-${PATCH_VER}.tar.bz2"
1003 SRC_URI+=" multilib? ( https://dev.gentoo.org/~dilfridge/distfiles/gcc-${GCC_BOOTSTRAP_VER}-multilib-bootstrap.tar.bz2 )"
1004
1005 -IUSE="audit caps debug doc gd hardened multilib nscd selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
1006 +IUSE="audit caps debug doc gd hardened multilib nscd selinux systemtap profile suid vanilla headers-only"
1007
1008 # Min kernel version glibc requires
1009 : ${NPTL_KERN_VER:="3.2.0"}
1010 @@ -89,7 +89,7 @@ RDEPEND="${COMMON_DEPEND}
1011 "
1012
1013 if [[ ${CATEGORY} == cross-* ]] ; then
1014 - DEPEND+=" !crosscompile_opts_headers-only? (
1015 + DEPEND+=" !headers-only? (
1016 >=${CATEGORY}/binutils-2.24
1017 >=${CATEGORY}/gcc-4.9
1018 )"
1019 diff --git a/sys-libs/glibc/glibc-2.26-r4.ebuild b/sys-libs/glibc/glibc-2.26-r4.ebuild
1020 index 97cf7ef1cbc..620205851b3 100644
1021 --- a/sys-libs/glibc/glibc-2.26-r4.ebuild
1022 +++ b/sys-libs/glibc/glibc-2.26-r4.ebuild
1023 @@ -33,7 +33,7 @@ PATCH_VER=5
1024 SRC_URI+=" https://dev.gentoo.org/~dilfridge/distfiles/${P}-patches-${PATCH_VER}.tar.bz2"
1025 SRC_URI+=" multilib? ( https://dev.gentoo.org/~dilfridge/distfiles/gcc-${GCC_BOOTSTRAP_VER}-multilib-bootstrap.tar.bz2 )"
1026
1027 -IUSE="audit caps debug doc gd hardened multilib nscd selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
1028 +IUSE="audit caps debug doc gd hardened multilib nscd selinux systemtap profile suid vanilla headers-only"
1029
1030 # Min kernel version glibc requires
1031 : ${NPTL_KERN_VER:="3.2.0"}
1032 @@ -90,7 +90,7 @@ RDEPEND="${COMMON_DEPEND}
1033 "
1034
1035 if [[ ${CATEGORY} == cross-* ]] ; then
1036 - DEPEND+=" !crosscompile_opts_headers-only? (
1037 + DEPEND+=" !headers-only? (
1038 >=${CATEGORY}/binutils-2.24
1039 >=${CATEGORY}/gcc-4.9
1040 )"
1041 diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
1042 index a5bf3b51ebc..23cde5394c8 100644
1043 --- a/sys-libs/glibc/glibc-9999.ebuild
1044 +++ b/sys-libs/glibc/glibc-9999.ebuild
1045 @@ -33,7 +33,7 @@ PATCH_VER="3"
1046 SRC_URI+=" https://dev.gentoo.org/~dilfridge/distfiles/${P}-patches-${PATCH_VER}.tar.bz2"
1047 SRC_URI+=" multilib? ( https://dev.gentoo.org/~dilfridge/distfiles/gcc-${GCC_BOOTSTRAP_VER}-multilib-bootstrap.tar.bz2 )"
1048
1049 -IUSE="audit caps compile-locales debug doc gd hardened multilib nscd selinux systemtap profile suid vanilla crosscompile_opts_headers-only"
1050 +IUSE="audit caps compile-locales debug doc gd hardened multilib nscd selinux systemtap profile suid vanilla headers-only"
1051
1052 # Min kernel version glibc requires
1053 : ${NPTL_KERN_VER:="3.2.0"}
1054 @@ -65,7 +65,7 @@ is_crosscompile() {
1055 }
1056
1057 just_headers() {
1058 - is_crosscompile && use crosscompile_opts_headers-only
1059 + is_crosscompile && use headers-only
1060 }
1061
1062 SLOT="2.2"
1063 @@ -94,7 +94,7 @@ RDEPEND="${COMMON_DEPEND}
1064 "
1065
1066 if [[ ${CATEGORY} == cross-* ]] ; then
1067 - DEPEND+=" !crosscompile_opts_headers-only? (
1068 + DEPEND+=" !headers-only? (
1069 >=${CATEGORY}/binutils-2.24
1070 >=${CATEGORY}/gcc-4.9
1071 )"
1072 diff --git a/sys-libs/musl/musl-1.1.18-r1.ebuild b/sys-libs/musl/musl-1.1.18-r1.ebuild
1073 index c4a1c90aaf5..0a6dca98ebe 100644
1074 --- a/sys-libs/musl/musl-1.1.18-r1.ebuild
1075 +++ b/sys-libs/musl/musl-1.1.18-r1.ebuild
1076 @@ -32,7 +32,7 @@ DESCRIPTION="Light, fast and simple C library focused on standards-conformance a
1077 HOMEPAGE="http://www.musl-libc.org/"
1078 LICENSE="MIT LGPL-2 GPL-2"
1079 SLOT="0"
1080 -IUSE="crosscompile_opts_headers-only"
1081 +IUSE="headers-only"
1082
1083 QA_SONAME="/usr/lib/libc.so"
1084 QA_DT_NEEDED="/usr/lib/libc.so"
1085 @@ -42,7 +42,7 @@ is_crosscompile() {
1086 }
1087
1088 just_headers() {
1089 - use crosscompile_opts_headers-only && is_crosscompile
1090 + use headers-only && is_crosscompile
1091 }
1092
1093 pkg_setup() {
1094 diff --git a/sys-libs/musl/musl-1.1.18.ebuild b/sys-libs/musl/musl-1.1.18.ebuild
1095 index a36df0d0e87..0386a42306e 100644
1096 --- a/sys-libs/musl/musl-1.1.18.ebuild
1097 +++ b/sys-libs/musl/musl-1.1.18.ebuild
1098 @@ -32,7 +32,7 @@ DESCRIPTION="Light, fast and simple C library focused on standards-conformance a
1099 HOMEPAGE="http://www.musl-libc.org/"
1100 LICENSE="MIT LGPL-2 GPL-2"
1101 SLOT="0"
1102 -IUSE="crosscompile_opts_headers-only"
1103 +IUSE="headers-only"
1104
1105 QA_SONAME="/usr/lib/libc.so"
1106 QA_DT_NEEDED="/usr/lib/libc.so"
1107 @@ -42,7 +42,7 @@ is_crosscompile() {
1108 }
1109
1110 just_headers() {
1111 - use crosscompile_opts_headers-only && is_crosscompile
1112 + use headers-only && is_crosscompile
1113 }
1114
1115 pkg_setup() {
1116 diff --git a/sys-libs/musl/musl-9999.ebuild b/sys-libs/musl/musl-9999.ebuild
1117 index c4a1c90aaf5..0a6dca98ebe 100644
1118 --- a/sys-libs/musl/musl-9999.ebuild
1119 +++ b/sys-libs/musl/musl-9999.ebuild
1120 @@ -32,7 +32,7 @@ DESCRIPTION="Light, fast and simple C library focused on standards-conformance a
1121 HOMEPAGE="http://www.musl-libc.org/"
1122 LICENSE="MIT LGPL-2 GPL-2"
1123 SLOT="0"
1124 -IUSE="crosscompile_opts_headers-only"
1125 +IUSE="headers-only"
1126
1127 QA_SONAME="/usr/lib/libc.so"
1128 QA_DT_NEEDED="/usr/lib/libc.so"
1129 @@ -42,7 +42,7 @@ is_crosscompile() {
1130 }
1131
1132 just_headers() {
1133 - use crosscompile_opts_headers-only && is_crosscompile
1134 + use headers-only && is_crosscompile
1135 }
1136
1137 pkg_setup() {
1138 diff --git a/sys-libs/newlib/newlib-2.0.0.ebuild b/sys-libs/newlib/newlib-2.0.0.ebuild
1139 index 1e1ee8fed86..67b546a271d 100644
1140 --- a/sys-libs/newlib/newlib-2.0.0.ebuild
1141 +++ b/sys-libs/newlib/newlib-2.0.0.ebuild
1142 @@ -20,7 +20,7 @@ SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz"
1143 LICENSE="NEWLIB LIBGLOSS GPL-2"
1144 SLOT="0"
1145 KEYWORDS="-* arm hppa m68k ~mips ppc ppc64 sh sparc x86"
1146 -IUSE="nls threads unicode crosscompile_opts_headers-only"
1147 +IUSE="nls threads unicode headers-only"
1148 RESTRICT="strip"
1149
1150 NEWLIBBUILD="${WORKDIR}/build"
1151 diff --git a/sys-libs/newlib/newlib-2.1.0.ebuild b/sys-libs/newlib/newlib-2.1.0.ebuild
1152 index 3ee1e7eb83e..7af9234806a 100644
1153 --- a/sys-libs/newlib/newlib-2.1.0.ebuild
1154 +++ b/sys-libs/newlib/newlib-2.1.0.ebuild
1155 @@ -20,7 +20,7 @@ SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz"
1156 LICENSE="NEWLIB LIBGLOSS GPL-2"
1157 SLOT="0"
1158 KEYWORDS="-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
1159 -IUSE="nls threads unicode crosscompile_opts_headers-only"
1160 +IUSE="nls threads unicode headers-only"
1161 RESTRICT="strip"
1162
1163 NEWLIBBUILD="${WORKDIR}/build"
1164 diff --git a/sys-libs/newlib/newlib-2.2.0.20150423.ebuild b/sys-libs/newlib/newlib-2.2.0.20150423.ebuild
1165 index df987d568b6..eb9aa3e2d96 100644
1166 --- a/sys-libs/newlib/newlib-2.2.0.20150423.ebuild
1167 +++ b/sys-libs/newlib/newlib-2.2.0.20150423.ebuild
1168 @@ -28,7 +28,7 @@ HOMEPAGE="https://sourceware.org/newlib/"
1169
1170 LICENSE="NEWLIB LIBGLOSS GPL-2"
1171 SLOT="0"
1172 -IUSE="nls threads unicode crosscompile_opts_headers-only"
1173 +IUSE="nls threads unicode headers-only"
1174 RESTRICT="strip"
1175
1176 NEWLIBBUILD="${WORKDIR}/build"
1177 diff --git a/sys-libs/newlib/newlib-2.2.0.ebuild b/sys-libs/newlib/newlib-2.2.0.ebuild
1178 index 2754fda04d9..25adb38100a 100644
1179 --- a/sys-libs/newlib/newlib-2.2.0.ebuild
1180 +++ b/sys-libs/newlib/newlib-2.2.0.ebuild
1181 @@ -26,7 +26,7 @@ HOMEPAGE="https://sourceware.org/newlib/"
1182
1183 LICENSE="NEWLIB LIBGLOSS GPL-2"
1184 SLOT="0"
1185 -IUSE="nls threads unicode crosscompile_opts_headers-only"
1186 +IUSE="nls threads unicode headers-only"
1187 RESTRICT="strip"
1188
1189 # Handle the SLOT changes. #497344
1190 diff --git a/sys-libs/newlib/newlib-2.3.0.20160104.ebuild b/sys-libs/newlib/newlib-2.3.0.20160104.ebuild
1191 index 43c6ac3aa91..2c23a22a0a2 100644
1192 --- a/sys-libs/newlib/newlib-2.3.0.20160104.ebuild
1193 +++ b/sys-libs/newlib/newlib-2.3.0.20160104.ebuild
1194 @@ -28,7 +28,7 @@ HOMEPAGE="https://sourceware.org/newlib/"
1195
1196 LICENSE="NEWLIB LIBGLOSS GPL-2"
1197 SLOT="0"
1198 -IUSE="nls threads unicode crosscompile_opts_headers-only"
1199 +IUSE="nls threads unicode headers-only"
1200 RESTRICT="strip"
1201
1202 NEWLIBBUILD="${WORKDIR}/build"
1203 diff --git a/sys-libs/newlib/newlib-2.4.0.ebuild b/sys-libs/newlib/newlib-2.4.0.ebuild
1204 index e70a03bdcad..5b9c78fa7aa 100644
1205 --- a/sys-libs/newlib/newlib-2.4.0.ebuild
1206 +++ b/sys-libs/newlib/newlib-2.4.0.ebuild
1207 @@ -28,7 +28,7 @@ HOMEPAGE="https://sourceware.org/newlib/"
1208
1209 LICENSE="NEWLIB LIBGLOSS GPL-2"
1210 SLOT="0"
1211 -IUSE="nls threads unicode crosscompile_opts_headers-only"
1212 +IUSE="nls threads unicode headers-only"
1213 RESTRICT="strip"
1214
1215 NEWLIBBUILD="${WORKDIR}/build"
1216 diff --git a/sys-libs/newlib/newlib-2.5.0.ebuild b/sys-libs/newlib/newlib-2.5.0.ebuild
1217 index 6a325c78758..3c86b8202e1 100644
1218 --- a/sys-libs/newlib/newlib-2.5.0.ebuild
1219 +++ b/sys-libs/newlib/newlib-2.5.0.ebuild
1220 @@ -28,7 +28,7 @@ HOMEPAGE="https://sourceware.org/newlib/"
1221
1222 LICENSE="NEWLIB LIBGLOSS GPL-2"
1223 SLOT="0"
1224 -IUSE="nls threads unicode crosscompile_opts_headers-only"
1225 +IUSE="nls threads unicode headers-only"
1226 RESTRICT="strip"
1227
1228 NEWLIBBUILD="${WORKDIR}/build"
1229 diff --git a/sys-libs/newlib/newlib-9999.ebuild b/sys-libs/newlib/newlib-9999.ebuild
1230 index 6a325c78758..3c86b8202e1 100644
1231 --- a/sys-libs/newlib/newlib-9999.ebuild
1232 +++ b/sys-libs/newlib/newlib-9999.ebuild
1233 @@ -28,7 +28,7 @@ HOMEPAGE="https://sourceware.org/newlib/"
1234
1235 LICENSE="NEWLIB LIBGLOSS GPL-2"
1236 SLOT="0"
1237 -IUSE="nls threads unicode crosscompile_opts_headers-only"
1238 +IUSE="nls threads unicode headers-only"
1239 RESTRICT="strip"
1240
1241 NEWLIBBUILD="${WORKDIR}/build"
1242 diff --git a/sys-libs/uclibc-ng/uclibc-ng-1.0.25.ebuild b/sys-libs/uclibc-ng/uclibc-ng-1.0.25.ebuild
1243 index 89d2e372716..62ee95b676a 100644
1244 --- a/sys-libs/uclibc-ng/uclibc-ng-1.0.25.ebuild
1245 +++ b/sys-libs/uclibc-ng/uclibc-ng-1.0.25.ebuild
1246 @@ -23,7 +23,7 @@ fi
1247
1248 LICENSE="LGPL-2"
1249 SLOT="0"
1250 -IUSE="debug hardened iconv ipv6 rpc symlink-compat crosscompile_opts_headers-only"
1251 +IUSE="debug hardened iconv ipv6 rpc symlink-compat headers-only"
1252 RESTRICT="strip"
1253
1254 # 1) We can't upgrade from uclibc to uclibc-ng via a soft blocker since portage
1255 @@ -59,7 +59,7 @@ alt_build_kprefix() {
1256 }
1257
1258 just_headers() {
1259 - use crosscompile_opts_headers-only && is_crosscompile
1260 + use headers-only && is_crosscompile
1261 }
1262
1263 uclibc_endian() {
1264 diff --git a/sys-libs/uclibc-ng/uclibc-ng-1.0.26.ebuild b/sys-libs/uclibc-ng/uclibc-ng-1.0.26.ebuild
1265 index 89d2e372716..62ee95b676a 100644
1266 --- a/sys-libs/uclibc-ng/uclibc-ng-1.0.26.ebuild
1267 +++ b/sys-libs/uclibc-ng/uclibc-ng-1.0.26.ebuild
1268 @@ -23,7 +23,7 @@ fi
1269
1270 LICENSE="LGPL-2"
1271 SLOT="0"
1272 -IUSE="debug hardened iconv ipv6 rpc symlink-compat crosscompile_opts_headers-only"
1273 +IUSE="debug hardened iconv ipv6 rpc symlink-compat headers-only"
1274 RESTRICT="strip"
1275
1276 # 1) We can't upgrade from uclibc to uclibc-ng via a soft blocker since portage
1277 @@ -59,7 +59,7 @@ alt_build_kprefix() {
1278 }
1279
1280 just_headers() {
1281 - use crosscompile_opts_headers-only && is_crosscompile
1282 + use headers-only && is_crosscompile
1283 }
1284
1285 uclibc_endian() {
1286 diff --git a/sys-libs/uclibc-ng/uclibc-ng-1.0.27.ebuild b/sys-libs/uclibc-ng/uclibc-ng-1.0.27.ebuild
1287 index 3cd7177086e..5f076f490c0 100644
1288 --- a/sys-libs/uclibc-ng/uclibc-ng-1.0.27.ebuild
1289 +++ b/sys-libs/uclibc-ng/uclibc-ng-1.0.27.ebuild
1290 @@ -23,7 +23,7 @@ fi
1291
1292 LICENSE="LGPL-2"
1293 SLOT="0"
1294 -IUSE="debug hardened iconv ipv6 rpc symlink-compat crosscompile_opts_headers-only"
1295 +IUSE="debug hardened iconv ipv6 rpc symlink-compat headers-only"
1296 RESTRICT="strip"
1297
1298 # 1) We can't upgrade from uclibc to uclibc-ng via a soft blocker since portage
1299 @@ -59,7 +59,7 @@ alt_build_kprefix() {
1300 }
1301
1302 just_headers() {
1303 - use crosscompile_opts_headers-only && is_crosscompile
1304 + use headers-only && is_crosscompile
1305 }
1306
1307 uclibc_endian() {
1308 diff --git a/sys-libs/uclibc-ng/uclibc-ng-9999.ebuild b/sys-libs/uclibc-ng/uclibc-ng-9999.ebuild
1309 index f6ad5129797..80ba0bee35a 100644
1310 --- a/sys-libs/uclibc-ng/uclibc-ng-9999.ebuild
1311 +++ b/sys-libs/uclibc-ng/uclibc-ng-9999.ebuild
1312 @@ -23,7 +23,7 @@ fi
1313
1314 LICENSE="LGPL-2"
1315 SLOT="0"
1316 -IUSE="debug hardened iconv ipv6 rpc symlink-compat crosscompile_opts_headers-only"
1317 +IUSE="debug hardened iconv ipv6 rpc symlink-compat headers-only"
1318 RESTRICT="strip"
1319
1320 # 1) We can't upgrade from uclibc to uclibc-ng via a soft blocker since portage
1321 @@ -59,7 +59,7 @@ alt_build_kprefix() {
1322 }
1323
1324 just_headers() {
1325 - use crosscompile_opts_headers-only && is_crosscompile
1326 + use headers-only && is_crosscompile
1327 }
1328
1329 uclibc_endian() {
1330 diff --git a/sys-libs/uclibc/uclibc-0.9.33.2-r15.ebuild b/sys-libs/uclibc/uclibc-0.9.33.2-r15.ebuild
1331 index 2702793af65..68c9f38199e 100644
1332 --- a/sys-libs/uclibc/uclibc-0.9.33.2-r15.ebuild
1333 +++ b/sys-libs/uclibc/uclibc-0.9.33.2-r15.ebuild
1334 @@ -27,7 +27,7 @@ fi
1335
1336 LICENSE="LGPL-2"
1337 SLOT="0"
1338 -IUSE="debug hardened iconv ipv6 nptl rpc ssp uclibc-compat wordexp crosscompile_opts_headers-only"
1339 +IUSE="debug hardened iconv ipv6 nptl rpc ssp uclibc-compat wordexp headers-only"
1340 RESTRICT="strip"
1341
1342 # We cannot migrate between uclibc and uclibc-ng because as soon as portage
1343 @@ -49,7 +49,7 @@ alt_build_kprefix() {
1344 }
1345
1346 just_headers() {
1347 - use crosscompile_opts_headers-only && is_crosscompile
1348 + use headers-only && is_crosscompile
1349 }
1350
1351 uclibc_endian() {
1352 diff --git a/sys-libs/uclibc/uclibc-0.9.33.9999.ebuild b/sys-libs/uclibc/uclibc-0.9.33.9999.ebuild
1353 index 82d3a46528c..3d547ad8604 100644
1354 --- a/sys-libs/uclibc/uclibc-0.9.33.9999.ebuild
1355 +++ b/sys-libs/uclibc/uclibc-0.9.33.9999.ebuild
1356 @@ -28,7 +28,7 @@ fi
1357
1358 LICENSE="LGPL-2"
1359 SLOT="0"
1360 -IUSE="debug hardened iconv ipv6 nptl rpc ssp uclibc-compat wordexp crosscompile_opts_headers-only"
1361 +IUSE="debug hardened iconv ipv6 nptl rpc ssp uclibc-compat wordexp headers-only"
1362 RESTRICT="strip"
1363
1364 # We cannot migrate between uclibc and uclibc-ng because as soon as portage
1365 @@ -50,7 +50,7 @@ alt_build_kprefix() {
1366 }
1367
1368 just_headers() {
1369 - use crosscompile_opts_headers-only && is_crosscompile
1370 + use headers-only && is_crosscompile
1371 }
1372
1373 uclibc_endian() {
1374 diff --git a/sys-libs/uclibc/uclibc-9999.ebuild b/sys-libs/uclibc/uclibc-9999.ebuild
1375 index fb29176b32f..efe35f4fe8c 100644
1376 --- a/sys-libs/uclibc/uclibc-9999.ebuild
1377 +++ b/sys-libs/uclibc/uclibc-9999.ebuild
1378 @@ -27,7 +27,7 @@ fi
1379
1380 LICENSE="LGPL-2"
1381 SLOT="0"
1382 -IUSE="debug hardened iconv ipv6 nptl rpc ssp uclibc-compat wordexp crosscompile_opts_headers-only"
1383 +IUSE="debug hardened iconv ipv6 nptl rpc ssp uclibc-compat wordexp headers-only"
1384 RESTRICT="strip"
1385
1386 # We cannot migrate between uclibc and uclibc-ng because as soon as portage
1387 @@ -49,7 +49,7 @@ alt_build_kprefix() {
1388 }
1389
1390 just_headers() {
1391 - use crosscompile_opts_headers-only && is_crosscompile
1392 + use headers-only && is_crosscompile
1393 }
1394
1395 uclibc_endian() {
1396 --
1397 2.15.1

Replies