From 19239aaef7013ca1a51fd6d0b55c55c7382104c0 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Sat, 25 Jun 2016 19:44:09 -0400 Subject: [PATCH] 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 0bb5f3ecb4eb..2b0d4acb7df0 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 a745d2d8fe0f..ab6aedf2d834 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 65f19c5a2e2d..b5b39fd6e45e 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 )" -- 2.26.2