app-admin/mongo-tools: add libressl support to latest version
authorAnthony G. Basile <blueness@gentoo.org>
Fri, 3 Mar 2017 13:49:23 +0000 (08:49 -0500)
committerAnthony G. Basile <blueness@gentoo.org>
Fri, 3 Mar 2017 13:49:23 +0000 (08:49 -0500)
Package-Manager: portage-2.3.3

app-admin/mongo-tools/mongo-tools-3.4.2.ebuild

index 1978809739ac809007ff28002c59f260f0fbe862..c631cc6fb83571ba5ff74bba3ae3533c6c8f4a04 100644 (file)
@@ -15,7 +15,7 @@ SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mong
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="sasl ssl"
+IUSE="sasl ssl libressl"
 
 # Maintainer note:
 # openssl DEPEND constraint, see:
@@ -26,7 +26,10 @@ DEPEND="${RDEPEND}
        dev-lang/go:=
        net-libs/libpcap
        sasl? ( dev-libs/cyrus-sasl )
-       ssl? ( dev-libs/openssl )"
+       ssl? (
+               !libressl? ( dev-libs/openssl:0= )
+               libressl? ( dev-libs/libressl:0= )
+       )"
 
 S=${WORKDIR}/${MY_P}