dev-embedded/avr-libc: Migrate CROSSCOMPILE_OPTS=headers-only -> USE=headers-only
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 7 Jan 2018 18:48:47 +0000 (18:48 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 7 Jan 2018 19:39:46 +0000 (19:39 +0000)
CROSSCOMPILE_OPTS is a USE_EXPAND of a single item: headers-only.
Convert it to a global USE flag instead.

Mechanical ebuild rename done as:
    $ sed -e 's@crosscompile_opts_headers-only@headers-only@g' \
        -i $(git grep -l headers-only)

'headers-only' flag is used by crossdev to bootstrap stage1 compiler
before libc is available.

crossdev switched to USE=headers-only in =sys-devel/crossdev-20171230.

Bug: https://bugs.gentoo.org/642712
Package-Manager: Portage-2.3.19, Repoman-2.3.6

dev-embedded/avr-libc/avr-libc-2.0.0.ebuild

index 3bc1167bdf6e203175bfc894472f180f8d38088f..79b7f1163fc22f18b11d25cf31d4f6095e0a986e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -20,7 +20,7 @@ SLOT="0"
 # be any other arch. See bug #620316#c5
 # Don't add more arches to KEYWORDS.
 KEYWORDS="amd64"
-IUSE="doc crosscompile_opts_headers-only"
+IUSE="doc headers-only"
 
 DEPEND=">=sys-devel/crossdev-0.9.1"
 [[ ${CATEGORY/cross-} != ${CATEGORY} ]] \