diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2018-01-07 18:43:58 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2018-01-07 19:39:44 +0000 |
commit | 91a02442c5a6c157bf9de58b20d327c88e9fac20 (patch) | |
tree | 7cd0bbc4235166e69027966e8c653197d0cfd0a4 /sys-libs/glibc/glibc-2.25-r9.ebuild | |
parent | sys-libs/musl: Migrate CROSSCOMPILE_OPTS=headers-only -> USE=headers-only (diff) | |
download | gentoo-91a02442c5a6c157bf9de58b20d327c88e9fac20.tar.gz gentoo-91a02442c5a6c157bf9de58b20d327c88e9fac20.tar.bz2 gentoo-91a02442c5a6c157bf9de58b20d327c88e9fac20.zip |
sys-libs/glibc: 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/glibc/glibc-2.25-r9.ebuild')
-rw-r--r-- | sys-libs/glibc/glibc-2.25-r9.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-libs/glibc/glibc-2.25-r9.ebuild b/sys-libs/glibc/glibc-2.25-r9.ebuild index 62c5c1ac0cfd..e31acb3be955 100644 --- a/sys-libs/glibc/glibc-2.25-r9.ebuild +++ b/sys-libs/glibc/glibc-2.25-r9.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="5" @@ -32,7 +32,7 @@ PATCH_VER="12" # Gentoo patchset GLIBC_PATCH_EXCLUDE+=" 0005_all_sys-types.h-drop-sys-sysmacros.h-include.patch" -IUSE="audit caps debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla crosscompile_opts_headers-only" +IUSE="audit caps debug gd hardened multilib nscd +rpc selinux systemtap profile suid vanilla headers-only" # Here's how the cross-compile logic breaks down ... # CTARGET - machine that will target the binaries @@ -85,7 +85,7 @@ RDEPEND="${COMMON_DEPEND} !sys-libs/nss-db" if [[ ${CATEGORY} == cross-* ]] ; then - DEPEND+=" !crosscompile_opts_headers-only? ( + DEPEND+=" !headers-only? ( >=${CATEGORY}/binutils-2.24 >=${CATEGORY}/gcc-4.7 )" |