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

dev-libs/mongo-cxx-driver/mongo-cxx-driver-0.0.2.6.7-r1.ebuild
dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.0.0.ebuild
dev-libs/mongo-cxx-driver/mongo-cxx-driver-1.0.5.ebuild

index 4786eadba58df0192662df6909fa2ea5e7a08bc8..f01fd3307dba4c7b5021a78ffea5deca38ecc7e9 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$
 
@@ -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] )"
 
index 35a03e3352bcab1c8b8985d01692d3f6b7e0a492..f87a418a2e107d1fe565237447ade67d4da0fd02 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$
 
@@ -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
index 35a03e3352bcab1c8b8985d01692d3f6b7e0a492..f87a418a2e107d1fe565237447ade67d4da0fd02 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$
 
@@ -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