From: Sergei Trofimovich Date: Sun, 7 Jan 2018 18:40:13 +0000 (+0000) Subject: sys-libs/uclibc-ng: Migrate CROSSCOMPILE_OPTS=headers-only -> USE=headers-only X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=365914db13540c7580e50a3dc9883587d74f12c8;p=gentoo.git sys-libs/uclibc-ng: 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 --- diff --git a/sys-libs/uclibc-ng/uclibc-ng-1.0.25.ebuild b/sys-libs/uclibc-ng/uclibc-ng-1.0.25.ebuild index 89d2e3727161..5245bd5b23c8 100644 --- a/sys-libs/uclibc-ng/uclibc-ng-1.0.25.ebuild +++ b/sys-libs/uclibc-ng/uclibc-ng-1.0.25.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" @@ -23,7 +23,7 @@ fi LICENSE="LGPL-2" SLOT="0" -IUSE="debug hardened iconv ipv6 rpc symlink-compat crosscompile_opts_headers-only" +IUSE="debug hardened iconv ipv6 rpc symlink-compat headers-only" RESTRICT="strip" # 1) We can't upgrade from uclibc to uclibc-ng via a soft blocker since portage @@ -59,7 +59,7 @@ alt_build_kprefix() { } just_headers() { - use crosscompile_opts_headers-only && is_crosscompile + use headers-only && is_crosscompile } uclibc_endian() { diff --git a/sys-libs/uclibc-ng/uclibc-ng-1.0.26.ebuild b/sys-libs/uclibc-ng/uclibc-ng-1.0.26.ebuild index 89d2e3727161..5245bd5b23c8 100644 --- a/sys-libs/uclibc-ng/uclibc-ng-1.0.26.ebuild +++ b/sys-libs/uclibc-ng/uclibc-ng-1.0.26.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" @@ -23,7 +23,7 @@ fi LICENSE="LGPL-2" SLOT="0" -IUSE="debug hardened iconv ipv6 rpc symlink-compat crosscompile_opts_headers-only" +IUSE="debug hardened iconv ipv6 rpc symlink-compat headers-only" RESTRICT="strip" # 1) We can't upgrade from uclibc to uclibc-ng via a soft blocker since portage @@ -59,7 +59,7 @@ alt_build_kprefix() { } just_headers() { - use crosscompile_opts_headers-only && is_crosscompile + use headers-only && is_crosscompile } uclibc_endian() { diff --git a/sys-libs/uclibc-ng/uclibc-ng-1.0.27.ebuild b/sys-libs/uclibc-ng/uclibc-ng-1.0.27.ebuild index 3cd7177086ee..9c2e972dc4c0 100644 --- a/sys-libs/uclibc-ng/uclibc-ng-1.0.27.ebuild +++ b/sys-libs/uclibc-ng/uclibc-ng-1.0.27.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" @@ -23,7 +23,7 @@ fi LICENSE="LGPL-2" SLOT="0" -IUSE="debug hardened iconv ipv6 rpc symlink-compat crosscompile_opts_headers-only" +IUSE="debug hardened iconv ipv6 rpc symlink-compat headers-only" RESTRICT="strip" # 1) We can't upgrade from uclibc to uclibc-ng via a soft blocker since portage @@ -59,7 +59,7 @@ alt_build_kprefix() { } just_headers() { - use crosscompile_opts_headers-only && is_crosscompile + use headers-only && is_crosscompile } uclibc_endian() { diff --git a/sys-libs/uclibc-ng/uclibc-ng-9999.ebuild b/sys-libs/uclibc-ng/uclibc-ng-9999.ebuild index f6ad51297978..9c2e972dc4c0 100644 --- a/sys-libs/uclibc-ng/uclibc-ng-9999.ebuild +++ b/sys-libs/uclibc-ng/uclibc-ng-9999.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="6" @@ -23,7 +23,7 @@ fi LICENSE="LGPL-2" SLOT="0" -IUSE="debug hardened iconv ipv6 rpc symlink-compat crosscompile_opts_headers-only" +IUSE="debug hardened iconv ipv6 rpc symlink-compat headers-only" RESTRICT="strip" # 1) We can't upgrade from uclibc to uclibc-ng via a soft blocker since portage @@ -59,7 +59,7 @@ alt_build_kprefix() { } just_headers() { - use crosscompile_opts_headers-only && is_crosscompile + use headers-only && is_crosscompile } uclibc_endian() {