summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Ratiu <adrian.ratiu@collabora.com>2022-08-05 15:41:45 +0300
committerSam James <sam@gentoo.org>2022-08-20 01:58:58 +0100
commit77cec48da70c6d6424ed6dba4357dd8eacd262c2 (patch)
treeadecb5c06f34c02939c9e734ab375bf81dc9d9f6
parentwww-client/microsoft-edge-beta: remove old (diff)
downloadgentoo-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>
-rw-r--r--sys-libs/glibc/glibc-2.33-r14.ebuild (renamed from sys-libs/glibc/glibc-2.33-r13.ebuild)1
-rw-r--r--sys-libs/glibc/glibc-2.34-r14.ebuild (renamed from sys-libs/glibc/glibc-2.34-r13.ebuild)1
-rw-r--r--sys-libs/glibc/glibc-2.35-r8.ebuild1
-rw-r--r--sys-libs/glibc/glibc-2.36.ebuild1
-rw-r--r--sys-libs/glibc/glibc-9999.ebuild1
5 files changed, 5 insertions, 0 deletions
diff --git a/sys-libs/glibc/glibc-2.33-r13.ebuild b/sys-libs/glibc/glibc-2.33-r14.ebuild
index 9fd5d468641c..98877549d384 100644
--- a/sys-libs/glibc/glibc-2.33-r13.ebuild
+++ b/sys-libs/glibc/glibc-2.33-r14.ebuild
@@ -1131,6 +1131,7 @@ glibc_headers_configure() {
--host=${CTARGET_OPT:-${CTARGET}}
--with-headers=$(build_eprefix)$(alt_build_headers)
--prefix="$(host_eprefix)/usr"
+ $(use_enable crypt)
${EXTRA_ECONF}
)
diff --git a/sys-libs/glibc/glibc-2.34-r13.ebuild b/sys-libs/glibc/glibc-2.34-r14.ebuild
index 1cd002c9c54a..454796952613 100644
--- a/sys-libs/glibc/glibc-2.34-r13.ebuild
+++ b/sys-libs/glibc/glibc-2.34-r14.ebuild
@@ -1149,6 +1149,7 @@ glibc_headers_configure() {
--host=${CTARGET_OPT:-${CTARGET}}
--with-headers=$(build_eprefix)$(alt_build_headers)
--prefix="$(host_eprefix)/usr"
+ $(use_enable crypt)
${EXTRA_ECONF}
)
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}
)
diff --git a/sys-libs/glibc/glibc-2.36.ebuild b/sys-libs/glibc/glibc-2.36.ebuild
index dc52203e0fe7..1ef2d277f251 100644
--- a/sys-libs/glibc/glibc-2.36.ebuild
+++ b/sys-libs/glibc/glibc-2.36.ebuild
@@ -1140,6 +1140,7 @@ glibc_headers_configure() {
--host=${CTARGET_OPT:-${CTARGET}}
--with-headers=$(build_eprefix)$(alt_build_headers)
--prefix="$(host_eprefix)/usr"
+ $(use_enable crypt)
${EXTRA_ECONF}
)
diff --git a/sys-libs/glibc/glibc-9999.ebuild b/sys-libs/glibc/glibc-9999.ebuild
index 92b54a5a254a..6797fdf6cd8a 100644
--- a/sys-libs/glibc/glibc-9999.ebuild
+++ b/sys-libs/glibc/glibc-9999.ebuild
@@ -1140,6 +1140,7 @@ glibc_headers_configure() {
--host=${CTARGET_OPT:-${CTARGET}}
--with-headers=$(build_eprefix)$(alt_build_headers)
--prefix="$(host_eprefix)/usr"
+ $(use_enable crypt)
${EXTRA_ECONF}
)