commit:     750ffffada1f0e2bee737b122c34671cbb483958
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 25 23:50:47 2016 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Jun 25 23:50:47 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=750ffffa

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

Package-Manager: portage-2.2.28

 dev-libs/mongo-cxx-driver/mongo-cxx-driver-0.0.2.6.7-r1.ebuild | 9 ++++++---
 dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.0.0.ebuild        | 9 ++++++---
 dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.0.5.ebuild        | 9 ++++++---
 3 files changed, 18 insertions(+), 9 deletions(-)

diff --git a/dev-libs/mongo-cxx-driver/mongo-cxx-driver-0.0.2.6.7-r1.ebuild 
b/dev-libs/mongo-cxx-driver/mongo-cxx-driver-0.0.2.6.7-r1.ebuild
index 4786ead..f01fd33 100644
--- a/dev-libs/mongo-cxx-driver/mongo-cxx-driver-0.0.2.6.7-r1.ebuild
+++ b/dev-libs/mongo-cxx-driver/mongo-cxx-driver-0.0.2.6.7-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$
 
@@ -17,7 +17,7 @@ 
SRC_URI="https://github.com/mongodb/${PN}/archive/${MY_P}.tar.gz";
 LICENSE="AGPL-3 Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="kerberos ssl static-libs"
+IUSE="kerberos libressl ssl static-libs"
 
 RDEPEND="
        app-arch/snappy
@@ -25,7 +25,10 @@ RDEPEND="
        >=dev-libs/boost-1.50[threads(+)]
        >=dev-libs/libpcre-8.30[cxx]
        dev-util/google-perftools[-minimal]
-       ssl? ( dev-libs/openssl:= )"
+       ssl? (
+               !libressl? ( dev-libs/openssl:0= )
+               libressl? ( dev-libs/libressl:0= )
+       )"
 DEPEND="${RDEPEND}
        kerberos? ( dev-libs/cyrus-sasl[kerberos] )"
 

diff --git a/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.0.0.ebuild 
b/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.0.0.ebuild
index 35a03e3..f87a418 100644
--- a/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.0.0.ebuild
+++ b/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.0.0.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$
 
@@ -14,12 +14,15 @@ 
SRC_URI="https://github.com/mongodb/${PN}/archive/legacy-${PV}.tar.gz";
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="debug sasl ssl static-libs"
+IUSE="debug libressl sasl ssl static-libs"
 
 RDEPEND="!dev-db/tokumx
        >=dev-libs/boost-1.50[threads(+)]
        sasl? ( dev-libs/cyrus-sasl )
-       ssl? ( dev-libs/openssl:= )"
+       ssl? (
+               !libressl? ( dev-libs/openssl:0= )
+               libressl? ( dev-libs/libressl:0= )
+       )"
 DEPEND="${RDEPEND}"
 
 # Maintainer notes

diff --git a/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.0.5.ebuild 
b/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.0.5.ebuild
index 35a03e3..f87a418 100644
--- a/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.0.5.ebuild
+++ b/dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.0.5.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$
 
@@ -14,12 +14,15 @@ 
SRC_URI="https://github.com/mongodb/${PN}/archive/legacy-${PV}.tar.gz";
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="debug sasl ssl static-libs"
+IUSE="debug libressl sasl ssl static-libs"
 
 RDEPEND="!dev-db/tokumx
        >=dev-libs/boost-1.50[threads(+)]
        sasl? ( dev-libs/cyrus-sasl )
-       ssl? ( dev-libs/openssl:= )"
+       ssl? (
+               !libressl? ( dev-libs/openssl:0= )
+               libressl? ( dev-libs/libressl:0= )
+       )"
 DEPEND="${RDEPEND}"
 
 # Maintainer notes

Reply via email to