dev-libs/mongo-c-driver: add libressl support
authorAnthony G. Basile <blueness@gentoo.org>
Sat, 25 Jun 2016 23:44:09 +0000 (19:44 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Sat, 25 Jun 2016 23:44:09 +0000 (19:44 -0400)
Package-Manager: portage-2.2.28

dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild

index 0bb5f3ecb4eb6ad4303c1918290e9d72776fd013..2b0d4acb7df0c77579300de23ae60a984211f0f6 100644 (file)
@@ -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 )"
 
index a745d2d8fe0fc537013af975ba2f02dccd7a8415..ab6aedf2d834343150781d4853339c87d0c2abe8 100644 (file)
@@ -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 )"
 
index 65f19c5a2e2d9e4b36c5d56ad265093db4dd859f..b5b39fd6e45e14d77fbaa75e59e4d08f792fcac8 100644 (file)
@@ -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 )"