sys-libs/newlib: Migrate CROSSCOMPILE_OPTS=headers-only -> USE=headers-only

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
This commit is contained in:
Sergei Trofimovich
2018-01-07 18:42:22 +00:00
parent 113d629bf4
commit 7ebe9beefa
8 changed files with 16 additions and 16 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
@@ -20,7 +20,7 @@ SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz"
LICENSE="NEWLIB LIBGLOSS GPL-2"
SLOT="0"
KEYWORDS="-* arm hppa m68k ~mips ppc ppc64 sh sparc x86"
IUSE="nls threads unicode crosscompile_opts_headers-only"
IUSE="nls threads unicode headers-only"
RESTRICT="strip"
NEWLIBBUILD="${WORKDIR}/build"

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
@@ -20,7 +20,7 @@ SRC_URI="ftp://sourceware.org/pub/newlib/${P}.tar.gz"
LICENSE="NEWLIB LIBGLOSS GPL-2"
SLOT="0"
KEYWORDS="-* ~arm ~hppa ~m68k ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
IUSE="nls threads unicode crosscompile_opts_headers-only"
IUSE="nls threads unicode headers-only"
RESTRICT="strip"
NEWLIBBUILD="${WORKDIR}/build"

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
@@ -28,7 +28,7 @@ HOMEPAGE="https://sourceware.org/newlib/"
LICENSE="NEWLIB LIBGLOSS GPL-2"
SLOT="0"
IUSE="nls threads unicode crosscompile_opts_headers-only"
IUSE="nls threads unicode headers-only"
RESTRICT="strip"
NEWLIBBUILD="${WORKDIR}/build"

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
@@ -26,7 +26,7 @@ HOMEPAGE="https://sourceware.org/newlib/"
LICENSE="NEWLIB LIBGLOSS GPL-2"
SLOT="0"
IUSE="nls threads unicode crosscompile_opts_headers-only"
IUSE="nls threads unicode headers-only"
RESTRICT="strip"
# Handle the SLOT changes. #497344

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
@@ -28,7 +28,7 @@ HOMEPAGE="https://sourceware.org/newlib/"
LICENSE="NEWLIB LIBGLOSS GPL-2"
SLOT="0"
IUSE="nls threads unicode crosscompile_opts_headers-only"
IUSE="nls threads unicode headers-only"
RESTRICT="strip"
NEWLIBBUILD="${WORKDIR}/build"

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="4"
@@ -28,7 +28,7 @@ HOMEPAGE="https://sourceware.org/newlib/"
LICENSE="NEWLIB LIBGLOSS GPL-2"
SLOT="0"
IUSE="nls threads unicode crosscompile_opts_headers-only"
IUSE="nls threads unicode headers-only"
RESTRICT="strip"
NEWLIBBUILD="${WORKDIR}/build"

View 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="6"
@@ -28,7 +28,7 @@ HOMEPAGE="https://sourceware.org/newlib/"
LICENSE="NEWLIB LIBGLOSS GPL-2"
SLOT="0"
IUSE="nls threads unicode crosscompile_opts_headers-only"
IUSE="nls threads unicode headers-only"
RESTRICT="strip"
NEWLIBBUILD="${WORKDIR}/build"

View 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="6"
@@ -28,7 +28,7 @@ HOMEPAGE="https://sourceware.org/newlib/"
LICENSE="NEWLIB LIBGLOSS GPL-2"
SLOT="0"
IUSE="nls threads unicode crosscompile_opts_headers-only"
IUSE="nls threads unicode headers-only"
RESTRICT="strip"
NEWLIBBUILD="${WORKDIR}/build"