eclas/mozconfig-v6.60: Adjust rust dep based on libc being musl or glibc
authorJory A. Pratt <anarchy@gentoo.org>
Thu, 24 May 2018 02:24:17 +0000 (21:24 -0500)
committerAaron Bauman <bman@gentoo.org>
Thu, 24 May 2018 03:02:52 +0000 (23:02 -0400)
Signed-off-by: Jory A. Pratt <anarchy@gentoo.org>
eclass/mozconfig-v6.60.eclass

index 8208305a778fc34152f7ca7ce4ab768b8f86befe..ac0652a8230137eeb57b3d7467fcbc554b107c24 100644 (file)
@@ -165,11 +165,14 @@ DEPEND="app-arch/zip
        >=sys-devel/binutils-2.16.1
        sys-apps/findutils
        pulseaudio? ( media-sound/pulseaudio )
-       || (
+       elibc_glibc? ( || (
                ( >=dev-lang/rust-1.24.0[-extended(-)] >=dev-util/cargo-0.25.0 )
                >=dev-lang/rust-1.24.0[extended]
                ( >=dev-lang/rust-bin-1.24.0 >=dev-util/cargo-0.25.0 )
-       )
+       ) )
+       elibc_musl? ( || ( >=dev-lang/rust-1.24.0
+               >=dev-util/cargo-0.25.0
+       ) )
        ${RDEPEND}"
 
 RDEPEND+="