diff options
author | Sam James <sam@gentoo.org> | 2022-09-11 18:27:28 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-09-11 18:27:28 +0100 |
commit | dff39d4671198d0287ae9da0263b543affe57d46 (patch) | |
tree | 7a500896f778cd56d512f76cc16c1563ac2c3ff9 /sys-libs/musl | |
parent | sys-libs/ncurses: fixup patch_url (diff) | |
download | gentoo-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.ebuild | 5 |
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} ]] |