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/uclibc/
Date: Sun, 07 Jan 2018 19:40:01
Message-Id: 1515353983.113d629bf4c2b5d01907f93899a32d26956e0855.slyfox@gentoo
1 commit: 113d629bf4c2b5d01907f93899a32d26956e0855
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 7 18:41:28 2018 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 7 19:39:43 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=113d629b
7
8 sys-libs/uclibc: 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/uclibc/uclibc-0.9.33.2-r15.ebuild | 6 +++---
26 sys-libs/uclibc/uclibc-0.9.33.9999.ebuild | 6 +++---
27 sys-libs/uclibc/uclibc-9999.ebuild | 6 +++---
28 3 files changed, 9 insertions(+), 9 deletions(-)
29
30 diff --git a/sys-libs/uclibc/uclibc-0.9.33.2-r15.ebuild b/sys-libs/uclibc/uclibc-0.9.33.2-r15.ebuild
31 index 2702793af65..32bb5418085 100644
32 --- a/sys-libs/uclibc/uclibc-0.9.33.2-r15.ebuild
33 +++ b/sys-libs/uclibc/uclibc-0.9.33.2-r15.ebuild
34 @@ -1,4 +1,4 @@
35 -# Copyright 1999-2016 Gentoo Foundation
36 +# Copyright 1999-2018 Gentoo Foundation
37 # Distributed under the terms of the GNU General Public License v2
38
39 inherit eutils flag-o-matic multilib toolchain-funcs savedconfig
40 @@ -27,7 +27,7 @@ fi
41
42 LICENSE="LGPL-2"
43 SLOT="0"
44 -IUSE="debug hardened iconv ipv6 nptl rpc ssp uclibc-compat wordexp crosscompile_opts_headers-only"
45 +IUSE="debug hardened iconv ipv6 nptl rpc ssp uclibc-compat wordexp headers-only"
46 RESTRICT="strip"
47
48 # We cannot migrate between uclibc and uclibc-ng because as soon as portage
49 @@ -49,7 +49,7 @@ alt_build_kprefix() {
50 }
51
52 just_headers() {
53 - use crosscompile_opts_headers-only && is_crosscompile
54 + use headers-only && is_crosscompile
55 }
56
57 uclibc_endian() {
58
59 diff --git a/sys-libs/uclibc/uclibc-0.9.33.9999.ebuild b/sys-libs/uclibc/uclibc-0.9.33.9999.ebuild
60 index 82d3a46528c..fbc8a60a1fc 100644
61 --- a/sys-libs/uclibc/uclibc-0.9.33.9999.ebuild
62 +++ b/sys-libs/uclibc/uclibc-0.9.33.9999.ebuild
63 @@ -1,4 +1,4 @@
64 -# Copyright 1999-2016 Gentoo Foundation
65 +# Copyright 1999-2018 Gentoo Foundation
66 # Distributed under the terms of the GNU General Public License v2
67
68 inherit eutils flag-o-matic multilib toolchain-funcs savedconfig
69 @@ -28,7 +28,7 @@ fi
70
71 LICENSE="LGPL-2"
72 SLOT="0"
73 -IUSE="debug hardened iconv ipv6 nptl rpc ssp uclibc-compat wordexp crosscompile_opts_headers-only"
74 +IUSE="debug hardened iconv ipv6 nptl rpc ssp uclibc-compat wordexp headers-only"
75 RESTRICT="strip"
76
77 # We cannot migrate between uclibc and uclibc-ng because as soon as portage
78 @@ -50,7 +50,7 @@ alt_build_kprefix() {
79 }
80
81 just_headers() {
82 - use crosscompile_opts_headers-only && is_crosscompile
83 + use headers-only && is_crosscompile
84 }
85
86 uclibc_endian() {
87
88 diff --git a/sys-libs/uclibc/uclibc-9999.ebuild b/sys-libs/uclibc/uclibc-9999.ebuild
89 index fb29176b32f..f5cec3749e7 100644
90 --- a/sys-libs/uclibc/uclibc-9999.ebuild
91 +++ b/sys-libs/uclibc/uclibc-9999.ebuild
92 @@ -1,4 +1,4 @@
93 -# Copyright 1999-2016 Gentoo Foundation
94 +# Copyright 1999-2018 Gentoo Foundation
95 # Distributed under the terms of the GNU General Public License v2
96
97 inherit eutils flag-o-matic multilib toolchain-funcs savedconfig
98 @@ -27,7 +27,7 @@ fi
99
100 LICENSE="LGPL-2"
101 SLOT="0"
102 -IUSE="debug hardened iconv ipv6 nptl rpc ssp uclibc-compat wordexp crosscompile_opts_headers-only"
103 +IUSE="debug hardened iconv ipv6 nptl rpc ssp uclibc-compat wordexp headers-only"
104 RESTRICT="strip"
105
106 # We cannot migrate between uclibc and uclibc-ng because as soon as portage
107 @@ -49,7 +49,7 @@ alt_build_kprefix() {
108 }
109
110 just_headers() {
111 - use crosscompile_opts_headers-only && is_crosscompile
112 + use headers-only && is_crosscompile
113 }
114
115 uclibc_endian() {