net-misc/mosh: Add libressl USE flag to 1.3.2
authorPatrick McLean <patrick.mclean@sony.com>
Sat, 5 Jan 2019 19:38:03 +0000 (11:38 -0800)
committerPatrick McLean <chutzpah@gentoo.org>
Sat, 5 Jan 2019 19:38:03 +0000 (11:38 -0800)
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
net-misc/mosh/mosh-1.3.2.ebuild

index 66a90294d786e90bd9caf4c2e5af2682c44150a9..eb607fe4305d1ac4b025a21bd3c86cc00c338ca3 100644 (file)
@@ -12,14 +12,13 @@ SRC_URI="https://mosh.org/${P}.tar.gz"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="amd64 ~arm ~arm64 ~mips ppc x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE="+client examples +mosh-hardening +server ufw +utempter"
+IUSE="+client examples libressl +mosh-hardening +server ufw +utempter"
 
 REQUIRED_USE="
        || ( client server )
        examples? ( client )"
 
 RDEPEND="
-       dev-libs/openssl:0=
        dev-libs/protobuf:0=
        sys-libs/ncurses:0=
        virtual/ssh
@@ -27,6 +26,12 @@ RDEPEND="
                dev-lang/perl
                dev-perl/IO-Tty
        )
+       libressl? (
+               dev-libs/libressl:0=
+       )
+       !libressl? (
+               dev-libs/openssl:0=
+       )
        utempter? (
                sys-libs/libutempter
        )"