commit:     c3adbb83a0ef5f5854d17cf02be00037e8e899f1
Author:     Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Sat May 20 18:56:19 2017 +0000
Commit:     Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Tue May 30 13:30:54 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3adbb83

dev-libs/mongo-c-driver: fix building with libressl (bug #618988)

Closes: https://github.com/gentoo/gentoo/pull/4686

 dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
index 2c2953383bb..09d274361f4 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
@@ -44,7 +44,7 @@ src_configure() {
                --disable-examples \
                --docdir="${EPREFIX}/usr/share/doc/${P}" \
                $(use_enable sasl) \
-               $(use_enable ssl ssl openssl) \
+               $(use_enable ssl ssl $(usex libressl libressl openssl)) \
                $(use_enable debug) \
                $(use_enable static-libs static)
 }

Reply via email to