commit:     b578d63574a9970585b203ff7436fa55e0eed381
Author:     Jesus P Rey (Chuso) <gentoo <AT> chuso <DOT> net>
AuthorDate: Mon Mar 29 20:37:26 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Apr 10 07:21:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b578d635

net-p2p/mldonkey: Add net-analyzer/openbsd-netcat as an alternative

...to net-analyzer/netcat.

Signed-off-by: Jesus P Rey <gentoo <AT> chuso.net>
Closes: https://bugs.gentoo.org/775971
Closes: https://github.com/gentoo/gentoo/pull/20188
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-p2p/mldonkey/mldonkey-3.1.7-r1.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/net-p2p/mldonkey/mldonkey-3.1.7-r1.ebuild 
b/net-p2p/mldonkey/mldonkey-3.1.7-r1.ebuild
index 0eaeac9e746..8557ea1a285 100644
--- a/net-p2p/mldonkey/mldonkey-3.1.7-r1.ebuild
+++ b/net-p2p/mldonkey/mldonkey-3.1.7-r1.ebuild
@@ -17,9 +17,8 @@ IUSE="bittorrent doc fasttrack gd gnutella gtk guionly magic 
+ocamlopt upnp"
 
 REQUIRED_USE="guionly? ( gtk )"
 
-RDEPEND="dev-lang/perl
+COMMON_DEPEND="dev-lang/perl
        dev-ml/camlp4:=
-       net-analyzer/netcat
        gd? ( media-libs/gd[truetype] )
        gtk? (
                gnome-base/librsvg
@@ -36,10 +35,12 @@ RDEPEND="dev-lang/perl
        )
        !guionly? ( acct-user/p2p )
 "
+RDEPEND="${COMMON_DEPEND}
+       || ( net-analyzer/netcat net-analyzer/openbsd-netcat )"
 # Can't yet use newer OCaml
 # -unsafe-string usage:
 # https://github.com/ygrek/mldonkey/issues/46
-DEPEND="${RDEPEND}
+DEPEND="${COMMON_DEPEND}
        <dev-lang/ocaml-4.10:=[ocamlopt?]
        bittorrent? (
                || (

Reply via email to