commit:     8f63068b834674dd668ec3cf16c654daf326ff08
Author:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 16 14:28:05 2017 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Jan 28 14:21:54 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f63068b

virtual/libc: for Cygwin, pull in sys-libs/cygwin-crypt

Package-Manager: portage-2.2.28

 virtual/libc/libc-1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/virtual/libc/libc-1.ebuild b/virtual/libc/libc-1.ebuild
index 482a588..59f8977 100644
--- a/virtual/libc/libc-1.ebuild
+++ b/virtual/libc/libc-1.ebuild
@@ -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 )
        )"

Reply via email to