summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-09-11 18:27:28 +0100
committerSam James <sam@gentoo.org>2022-09-11 18:27:28 +0100
commitdff39d4671198d0287ae9da0263b543affe57d46 (patch)
tree7a500896f778cd56d512f76cc16c1563ac2c3ff9 /sys-libs/musl
parentsys-libs/ncurses: fixup patch_url (diff)
downloadgentoo-dff39d4671198d0287ae9da0263b543affe57d46.tar.gz
gentoo-dff39d4671198d0287ae9da0263b543affe57d46.tar.bz2
gentoo-dff39d4671198d0287ae9da0263b543affe57d46.zip
sys-libs/musl: fix libxcrypt dep
We only need libxcrypt when we DON'T install crypt.h Bug: https://bugs.gentoo.org/867991 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/musl')
-rw-r--r--sys-libs/musl/musl-1.2.3-r2.ebuild (renamed from sys-libs/musl/musl-1.2.3-r1.ebuild)5
-rw-r--r--sys-libs/musl/musl-9999.ebuild5
2 files changed, 8 insertions, 2 deletions
diff --git a/sys-libs/musl/musl-1.2.3-r1.ebuild b/sys-libs/musl/musl-1.2.3-r2.ebuild
index fedb9137f4cb..153da9d0a707 100644
--- a/sys-libs/musl/musl-1.2.3-r1.ebuild
+++ b/sys-libs/musl/musl-1.2.3-r2.ebuild
@@ -43,7 +43,10 @@ IUSE="crypt headers-only"
QA_SONAME="/usr/lib/libc.so"
QA_DT_NEEDED="/usr/lib/libc.so"
-RDEPEND="crypt? ( sys-libs/libxcrypt[system] )"
+RDEPEND="
+ crypt? ( !sys-libs/libxcrypt[system] )
+ !crypt? ( sys-libs/libxcrypt[system] )
+"
is_crosscompile() {
[[ ${CHOST} != ${CTARGET} ]]
diff --git a/sys-libs/musl/musl-9999.ebuild b/sys-libs/musl/musl-9999.ebuild
index fedb9137f4cb..153da9d0a707 100644
--- a/sys-libs/musl/musl-9999.ebuild
+++ b/sys-libs/musl/musl-9999.ebuild
@@ -43,7 +43,10 @@ IUSE="crypt headers-only"
QA_SONAME="/usr/lib/libc.so"
QA_DT_NEEDED="/usr/lib/libc.so"
-RDEPEND="crypt? ( sys-libs/libxcrypt[system] )"
+RDEPEND="
+ crypt? ( !sys-libs/libxcrypt[system] )
+ !crypt? ( sys-libs/libxcrypt[system] )
+"
is_crosscompile() {
[[ ${CHOST} != ${CTARGET} ]]