commit:     19239aaef7013ca1a51fd6d0b55c55c7382104c0
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 25 23:44:09 2016 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Jun 25 23:44:09 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19239aae

dev-libs/mongo-c-driver: add libressl support

Package-Manager: portage-2.2.28

 dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild   | 9 ++++++---
 dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild   | 9 ++++++---
 dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild | 9 ++++++---
 3 files changed, 18 insertions(+), 9 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
index 0bb5f3e..2b0d4ac 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,11 +13,14 @@ 
SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz";
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="debug examples sasl ssl static-libs test"
+IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND=">=dev-libs/libbson-0.98.0
        sasl? ( dev-libs/cyrus-sasl )
-       ssl? ( dev-libs/openssl:= )"
+       ssl? (
+               !libressl? ( dev-libs/openssl:0= )
+               libressl? ( dev-libs/libressl:0= )
+       )"
 DEPEND="${RDEPEND}
        test? ( dev-db/mongodb )"
 

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
index a745d2d..ab6aedf 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,11 +13,14 @@ 
SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz";
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="debug examples sasl ssl static-libs test"
+IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND=">=dev-libs/libbson-1.1.10
        sasl? ( dev-libs/cyrus-sasl )
-       ssl? ( dev-libs/openssl:= )"
+       ssl? (
+               !libressl? ( dev-libs/openssl:0= )
+               libressl? ( dev-libs/libressl:0= )
+       )"
 DEPEND="${RDEPEND}
        test? ( dev-db/mongodb )"
 

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
index 65f19c5..b5b39fd 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,11 +13,14 @@ 
SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz";
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="debug examples sasl ssl static-libs test"
+IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND=">=dev-libs/libbson-1.0
        sasl? ( dev-libs/cyrus-sasl )
-       ssl? ( dev-libs/openssl:= )"
+       ssl? (
+               !libressl? ( dev-libs/openssl:0= )
+               libressl? ( dev-libs/libressl:0= )
+       )"
 DEPEND="${RDEPEND}
        test? ( dev-db/mongodb )"
 

Reply via email to