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-ng/
Date: Sun, 07 Jan 2018 19:40:00
Message-Id: 1515353983.365914db13540c7580e50a3dc9883587d74f12c8.slyfox@gentoo
1 commit: 365914db13540c7580e50a3dc9883587d74f12c8
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 7 18:40:13 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=365914db
7
8 sys-libs/uclibc-ng: 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-ng/uclibc-ng-1.0.25.ebuild | 6 +++---
26 sys-libs/uclibc-ng/uclibc-ng-1.0.26.ebuild | 6 +++---
27 sys-libs/uclibc-ng/uclibc-ng-1.0.27.ebuild | 6 +++---
28 sys-libs/uclibc-ng/uclibc-ng-9999.ebuild | 6 +++---
29 4 files changed, 12 insertions(+), 12 deletions(-)
30
31 diff --git a/sys-libs/uclibc-ng/uclibc-ng-1.0.25.ebuild b/sys-libs/uclibc-ng/uclibc-ng-1.0.25.ebuild
32 index 89d2e372716..5245bd5b23c 100644
33 --- a/sys-libs/uclibc-ng/uclibc-ng-1.0.25.ebuild
34 +++ b/sys-libs/uclibc-ng/uclibc-ng-1.0.25.ebuild
35 @@ -1,4 +1,4 @@
36 -# Copyright 1999-2017 Gentoo Foundation
37 +# Copyright 1999-2018 Gentoo Foundation
38 # Distributed under the terms of the GNU General Public License v2
39
40 EAPI="6"
41 @@ -23,7 +23,7 @@ fi
42
43 LICENSE="LGPL-2"
44 SLOT="0"
45 -IUSE="debug hardened iconv ipv6 rpc symlink-compat crosscompile_opts_headers-only"
46 +IUSE="debug hardened iconv ipv6 rpc symlink-compat headers-only"
47 RESTRICT="strip"
48
49 # 1) We can't upgrade from uclibc to uclibc-ng via a soft blocker since portage
50 @@ -59,7 +59,7 @@ alt_build_kprefix() {
51 }
52
53 just_headers() {
54 - use crosscompile_opts_headers-only && is_crosscompile
55 + use headers-only && is_crosscompile
56 }
57
58 uclibc_endian() {
59
60 diff --git a/sys-libs/uclibc-ng/uclibc-ng-1.0.26.ebuild b/sys-libs/uclibc-ng/uclibc-ng-1.0.26.ebuild
61 index 89d2e372716..5245bd5b23c 100644
62 --- a/sys-libs/uclibc-ng/uclibc-ng-1.0.26.ebuild
63 +++ b/sys-libs/uclibc-ng/uclibc-ng-1.0.26.ebuild
64 @@ -1,4 +1,4 @@
65 -# Copyright 1999-2017 Gentoo Foundation
66 +# Copyright 1999-2018 Gentoo Foundation
67 # Distributed under the terms of the GNU General Public License v2
68
69 EAPI="6"
70 @@ -23,7 +23,7 @@ fi
71
72 LICENSE="LGPL-2"
73 SLOT="0"
74 -IUSE="debug hardened iconv ipv6 rpc symlink-compat crosscompile_opts_headers-only"
75 +IUSE="debug hardened iconv ipv6 rpc symlink-compat headers-only"
76 RESTRICT="strip"
77
78 # 1) We can't upgrade from uclibc to uclibc-ng via a soft blocker since portage
79 @@ -59,7 +59,7 @@ alt_build_kprefix() {
80 }
81
82 just_headers() {
83 - use crosscompile_opts_headers-only && is_crosscompile
84 + use headers-only && is_crosscompile
85 }
86
87 uclibc_endian() {
88
89 diff --git a/sys-libs/uclibc-ng/uclibc-ng-1.0.27.ebuild b/sys-libs/uclibc-ng/uclibc-ng-1.0.27.ebuild
90 index 3cd7177086e..9c2e972dc4c 100644
91 --- a/sys-libs/uclibc-ng/uclibc-ng-1.0.27.ebuild
92 +++ b/sys-libs/uclibc-ng/uclibc-ng-1.0.27.ebuild
93 @@ -1,4 +1,4 @@
94 -# Copyright 1999-2017 Gentoo Foundation
95 +# Copyright 1999-2018 Gentoo Foundation
96 # Distributed under the terms of the GNU General Public License v2
97
98 EAPI="6"
99 @@ -23,7 +23,7 @@ fi
100
101 LICENSE="LGPL-2"
102 SLOT="0"
103 -IUSE="debug hardened iconv ipv6 rpc symlink-compat crosscompile_opts_headers-only"
104 +IUSE="debug hardened iconv ipv6 rpc symlink-compat headers-only"
105 RESTRICT="strip"
106
107 # 1) We can't upgrade from uclibc to uclibc-ng via a soft blocker since portage
108 @@ -59,7 +59,7 @@ alt_build_kprefix() {
109 }
110
111 just_headers() {
112 - use crosscompile_opts_headers-only && is_crosscompile
113 + use headers-only && is_crosscompile
114 }
115
116 uclibc_endian() {
117
118 diff --git a/sys-libs/uclibc-ng/uclibc-ng-9999.ebuild b/sys-libs/uclibc-ng/uclibc-ng-9999.ebuild
119 index f6ad5129797..9c2e972dc4c 100644
120 --- a/sys-libs/uclibc-ng/uclibc-ng-9999.ebuild
121 +++ b/sys-libs/uclibc-ng/uclibc-ng-9999.ebuild
122 @@ -1,4 +1,4 @@
123 -# Copyright 1999-2016 Gentoo Foundation
124 +# Copyright 1999-2018 Gentoo Foundation
125 # Distributed under the terms of the GNU General Public License v2
126
127 EAPI="6"
128 @@ -23,7 +23,7 @@ fi
129
130 LICENSE="LGPL-2"
131 SLOT="0"
132 -IUSE="debug hardened iconv ipv6 rpc symlink-compat crosscompile_opts_headers-only"
133 +IUSE="debug hardened iconv ipv6 rpc symlink-compat headers-only"
134 RESTRICT="strip"
135
136 # 1) We can't upgrade from uclibc to uclibc-ng via a soft blocker since portage
137 @@ -59,7 +59,7 @@ alt_build_kprefix() {
138 }
139
140 just_headers() {
141 - use crosscompile_opts_headers-only && is_crosscompile
142 + use headers-only && is_crosscompile
143 }
144
145 uclibc_endian() {