From 7ebe9beefafa261f4f14d4e6f9171ffc1b9fda7e Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 7 Jan 2018 18:42:22 +0000 Subject: [PATCH] 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 --- sys-libs/newlib/newlib-2.0.0.ebuild | 4 ++-- sys-libs/newlib/newlib-2.1.0.ebuild | 4 ++-- sys-libs/newlib/newlib-2.2.0.20150423.ebuild | 4 ++-- sys-libs/newlib/newlib-2.2.0.ebuild | 4 ++-- sys-libs/newlib/newlib-2.3.0.20160104.ebuild | 4 ++-- sys-libs/newlib/newlib-2.4.0.ebuild | 4 ++-- sys-libs/newlib/newlib-2.5.0.ebuild | 4 ++-- sys-libs/newlib/newlib-9999.ebuild | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/sys-libs/newlib/newlib-2.0.0.ebuild b/sys-libs/newlib/newlib-2.0.0.ebuild index 1e1ee8fed8675..053d58f02482b 100644 --- a/sys-libs/newlib/newlib-2.0.0.ebuild +++ b/sys-libs/newlib/newlib-2.0.0.ebuild @@ -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" diff --git a/sys-libs/newlib/newlib-2.1.0.ebuild b/sys-libs/newlib/newlib-2.1.0.ebuild index 3ee1e7eb83e01..fdf7d10a2f688 100644 --- a/sys-libs/newlib/newlib-2.1.0.ebuild +++ b/sys-libs/newlib/newlib-2.1.0.ebuild @@ -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" diff --git a/sys-libs/newlib/newlib-2.2.0.20150423.ebuild b/sys-libs/newlib/newlib-2.2.0.20150423.ebuild index df987d568b6ac..c851572aa12ad 100644 --- a/sys-libs/newlib/newlib-2.2.0.20150423.ebuild +++ b/sys-libs/newlib/newlib-2.2.0.20150423.ebuild @@ -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" diff --git a/sys-libs/newlib/newlib-2.2.0.ebuild b/sys-libs/newlib/newlib-2.2.0.ebuild index 2754fda04d902..a583773e93514 100644 --- a/sys-libs/newlib/newlib-2.2.0.ebuild +++ b/sys-libs/newlib/newlib-2.2.0.ebuild @@ -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 diff --git a/sys-libs/newlib/newlib-2.3.0.20160104.ebuild b/sys-libs/newlib/newlib-2.3.0.20160104.ebuild index 43c6ac3aa91b1..70750a9111825 100644 --- a/sys-libs/newlib/newlib-2.3.0.20160104.ebuild +++ b/sys-libs/newlib/newlib-2.3.0.20160104.ebuild @@ -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" diff --git a/sys-libs/newlib/newlib-2.4.0.ebuild b/sys-libs/newlib/newlib-2.4.0.ebuild index e70a03bdcad22..724e01a55fa81 100644 --- a/sys-libs/newlib/newlib-2.4.0.ebuild +++ b/sys-libs/newlib/newlib-2.4.0.ebuild @@ -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" diff --git a/sys-libs/newlib/newlib-2.5.0.ebuild b/sys-libs/newlib/newlib-2.5.0.ebuild index 6a325c7875862..51c3318e20201 100644 --- a/sys-libs/newlib/newlib-2.5.0.ebuild +++ b/sys-libs/newlib/newlib-2.5.0.ebuild @@ -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" diff --git a/sys-libs/newlib/newlib-9999.ebuild b/sys-libs/newlib/newlib-9999.ebuild index 6a325c7875862..51c3318e20201 100644 --- a/sys-libs/newlib/newlib-9999.ebuild +++ b/sys-libs/newlib/newlib-9999.ebuild @@ -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"