virtual/libc: for Cygwin, pull in sys-libs/cygwin-crypt
authorMichael Haubenwallner <haubi@gentoo.org>
Mon, 16 Jan 2017 14:28:05 +0000 (15:28 +0100)
committerFabian Groffen <grobian@gentoo.org>
Sat, 28 Jan 2017 14:21:54 +0000 (15:21 +0100)
Package-Manager: portage-2.2.28

virtual/libc/libc-1.ebuild

index 482a588a27b5d038d09a660669ba95563c46bef8..59f897756679d5f477e3523508ef62c290990f38 100644 (file)
@@ -10,9 +10,13 @@ KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86
 
 # explicitly depend on SLOT 2.2 of glibc, because it sets
 # a different SLOT for cross-compiling
+# Cygwin uses newlib, which lacks libcrypt
 RDEPEND="!prefix-guest? (
                elibc_glibc? ( sys-libs/glibc:2.2 )
                elibc_musl? ( sys-libs/musl )
                elibc_uclibc? ( || ( sys-libs/uclibc-ng sys-libs/uclibc ) )
                elibc_FreeBSD? ( sys-freebsd/freebsd-lib )
+       )
+       prefix-guest? (
+               elibc_Cygwin? ( sys-libs/cygwin-crypt )
        )"