diff options
author | 2022-08-05 15:41:45 +0300 | |
---|---|---|
committer | 2022-08-20 01:58:58 +0100 | |
commit | 77cec48da70c6d6424ed6dba4357dd8eacd262c2 (patch) | |
tree | adecb5c06f34c02939c9e734ab375bf81dc9d9f6 /sys-libs/glibc/glibc-2.35-r8.ebuild | |
parent | www-client/microsoft-edge-beta: remove old (diff) | |
download | gentoo-77cec48da70c6d6424ed6dba4357dd8eacd262c2.tar.gz gentoo-77cec48da70c6d6424ed6dba4357dd8eacd262c2.tar.bz2 gentoo-77cec48da70c6d6424ed6dba4357dd8eacd262c2.zip |
sys-libs/glibc: make crypt.h install depend on crypt use flag
The crypt use flag is supposed to control whether libcrypt
and its associated crypt.h are installed, but it's ignored
in header-only builds and crypt.h is always installed.
This generates a conflict for eg with sys-libs/libcxrypt
installed as a system lib which provides /usr/include/crypt.h
even if glibc is built with -crypt.
The solution is for glibc to properly respect the crypt
use flag when installing the headers.
Fixes: https://bugs.gentoo.org/863812
Signed-off-by: Adrian Ratiu <adrian.ratiu@collabora.com>
Closes: https://github.com/gentoo/gentoo/pull/26747
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/glibc/glibc-2.35-r8.ebuild')
-rw-r--r-- | sys-libs/glibc/glibc-2.35-r8.ebuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-libs/glibc/glibc-2.35-r8.ebuild b/sys-libs/glibc/glibc-2.35-r8.ebuild index 25a735d93196..9ae33c6fc9d5 100644 --- a/sys-libs/glibc/glibc-2.35-r8.ebuild +++ b/sys-libs/glibc/glibc-2.35-r8.ebuild @@ -1142,6 +1142,7 @@ glibc_headers_configure() { --host=${CTARGET_OPT:-${CTARGET}} --with-headers=$(build_eprefix)$(alt_build_headers) --prefix="$(host_eprefix)/usr" + $(use_enable crypt) ${EXTRA_ECONF} ) |