summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesus P Rey (Chuso) <gentoo@chuso.net>2021-03-29 22:37:26 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-04-10 10:21:29 +0300
commitb578d63574a9970585b203ff7436fa55e0eed381 (patch)
tree7a61bcb6a108b25064b218bd81af5f5665ba5ab3 /net-p2p/mldonkey
parentnet-im/bitlbee-facebook: drop 1.2.0 (diff)
downloadgentoo-b578d63574a9970585b203ff7436fa55e0eed381.tar.gz
gentoo-b578d63574a9970585b203ff7436fa55e0eed381.tar.bz2
gentoo-b578d63574a9970585b203ff7436fa55e0eed381.zip
net-p2p/mldonkey: Add net-analyzer/openbsd-netcat as an alternative
...to net-analyzer/netcat. Signed-off-by: Jesus P Rey <gentoo@chuso.net> Closes: https://bugs.gentoo.org/775971 Closes: https://github.com/gentoo/gentoo/pull/20188 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-p2p/mldonkey')
-rw-r--r--net-p2p/mldonkey/mldonkey-3.1.7-r1.ebuild7
1 files 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 0eaeac9e7461..8557ea1a285e 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? (
|| (