diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2018-01-07 18:41:28 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2018-01-07 19:39:43 +0000 |
commit | 113d629bf4c2b5d01907f93899a32d26956e0855 (patch) | |
tree | 89e1176db963f01a97886c312015fd0bbd65f2f9 /sys-libs/uclibc | |
parent | sys-libs/uclibc-ng: Migrate CROSSCOMPILE_OPTS=headers-only -> USE=headers-only (diff) | |
download | gentoo-113d629bf4c2b5d01907f93899a32d26956e0855.tar.gz gentoo-113d629bf4c2b5d01907f93899a32d26956e0855.tar.bz2 gentoo-113d629bf4c2b5d01907f93899a32d26956e0855.zip |
sys-libs/uclibc: 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
Diffstat (limited to 'sys-libs/uclibc')
-rw-r--r-- | sys-libs/uclibc/uclibc-0.9.33.2-r15.ebuild | 6 | ||||
-rw-r--r-- | sys-libs/uclibc/uclibc-0.9.33.9999.ebuild | 6 | ||||
-rw-r--r-- | sys-libs/uclibc/uclibc-9999.ebuild | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sys-libs/uclibc/uclibc-0.9.33.2-r15.ebuild b/sys-libs/uclibc/uclibc-0.9.33.2-r15.ebuild index 2702793af658..32bb54180854 100644 --- a/sys-libs/uclibc/uclibc-0.9.33.2-r15.ebuild +++ b/sys-libs/uclibc/uclibc-0.9.33.2-r15.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 inherit eutils flag-o-matic multilib toolchain-funcs savedconfig @@ -27,7 +27,7 @@ fi LICENSE="LGPL-2" SLOT="0" -IUSE="debug hardened iconv ipv6 nptl rpc ssp uclibc-compat wordexp crosscompile_opts_headers-only" +IUSE="debug hardened iconv ipv6 nptl rpc ssp uclibc-compat wordexp headers-only" RESTRICT="strip" # We cannot migrate between uclibc and uclibc-ng because as soon as portage @@ -49,7 +49,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/uclibc-0.9.33.9999.ebuild b/sys-libs/uclibc/uclibc-0.9.33.9999.ebuild index 82d3a46528c1..fbc8a60a1fc9 100644 --- a/sys-libs/uclibc/uclibc-0.9.33.9999.ebuild +++ b/sys-libs/uclibc/uclibc-0.9.33.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 inherit eutils flag-o-matic multilib toolchain-funcs savedconfig @@ -28,7 +28,7 @@ fi LICENSE="LGPL-2" SLOT="0" -IUSE="debug hardened iconv ipv6 nptl rpc ssp uclibc-compat wordexp crosscompile_opts_headers-only" +IUSE="debug hardened iconv ipv6 nptl rpc ssp uclibc-compat wordexp headers-only" RESTRICT="strip" # We cannot migrate between uclibc and uclibc-ng because as soon as portage @@ -50,7 +50,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/uclibc-9999.ebuild b/sys-libs/uclibc/uclibc-9999.ebuild index fb29176b32f1..f5cec3749e75 100644 --- a/sys-libs/uclibc/uclibc-9999.ebuild +++ b/sys-libs/uclibc/uclibc-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 inherit eutils flag-o-matic multilib toolchain-funcs savedconfig @@ -27,7 +27,7 @@ fi LICENSE="LGPL-2" SLOT="0" -IUSE="debug hardened iconv ipv6 nptl rpc ssp uclibc-compat wordexp crosscompile_opts_headers-only" +IUSE="debug hardened iconv ipv6 nptl rpc ssp uclibc-compat wordexp headers-only" RESTRICT="strip" # We cannot migrate between uclibc and uclibc-ng because as soon as portage @@ -49,7 +49,7 @@ alt_build_kprefix() { } just_headers() { - use crosscompile_opts_headers-only && is_crosscompile + use headers-only && is_crosscompile } uclibc_endian() { |