Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/avr-libc/
Date: Sun, 07 Jan 2018 19:40:04
Message-Id: 1515353986.98965f4b376cc24acd2199c12f8c30c59417b4be.slyfox@gentoo
1 commit: 98965f4b376cc24acd2199c12f8c30c59417b4be
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 7 18:48:47 2018 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 7 19:39:46 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98965f4b
7
8 dev-embedded/avr-libc: 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 dev-embedded/avr-libc/avr-libc-2.0.0.ebuild | 4 ++--
26 1 file changed, 2 insertions(+), 2 deletions(-)
27
28 diff --git a/dev-embedded/avr-libc/avr-libc-2.0.0.ebuild b/dev-embedded/avr-libc/avr-libc-2.0.0.ebuild
29 index 3bc1167bdf6..79b7f1163fc 100644
30 --- a/dev-embedded/avr-libc/avr-libc-2.0.0.ebuild
31 +++ b/dev-embedded/avr-libc/avr-libc-2.0.0.ebuild
32 @@ -1,4 +1,4 @@
33 -# Copyright 1999-2017 Gentoo Foundation
34 +# Copyright 1999-2018 Gentoo Foundation
35 # Distributed under the terms of the GNU General Public License v2
36
37 EAPI="5"
38 @@ -20,7 +20,7 @@ SLOT="0"
39 # be any other arch. See bug #620316#c5
40 # Don't add more arches to KEYWORDS.
41 KEYWORDS="amd64"
42 -IUSE="doc crosscompile_opts_headers-only"
43 +IUSE="doc headers-only"
44
45 DEPEND=">=sys-devel/crossdev-0.9.1"
46 [[ ${CATEGORY/cross-} != ${CATEGORY} ]] \