summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-admin/mongo-tools/mongo-tools-3.4.2.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/app-admin/mongo-tools/mongo-tools-3.4.2.ebuild b/app-admin/mongo-tools/mongo-tools-3.4.2.ebuild
index 1978809739ac..c631cc6fb835 100644
--- a/app-admin/mongo-tools/mongo-tools-3.4.2.ebuild
+++ b/app-admin/mongo-tools/mongo-tools-3.4.2.ebuild
@@ -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}