commit: 65dd1edfd454be02ef7f361ad0c124063f7b3eb7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May 10 09:57:24 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 10 09:57:46 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65dd1edf
net-libs/libmicrohttpd: add curl to BDEPEND too for tests
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-libs/libmicrohttpd/libmicrohttpd-0.9.73.ebuild | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.73.ebuild
b/net-libs/libmicrohttpd/libmicrohttpd-0.9.73.ebuild
index 6e40bbf9a52..d881dcb779b 100644
--- a/net-libs/libmicrohttpd/libmicrohttpd-0.9.73.ebuild
+++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.73.ebuild
@@ -18,13 +18,14 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc
~ppc64 ~riscv ~sparc
IUSE="+epoll ssl static-libs test thread-names"
RESTRICT="!test? ( test )"
+# libcurl is linked to for tests and the
+# curl binary is used during tests too
+# if available
RDEPEND="ssl? ( >net-libs/gnutls-2.12.20:= )"
DEPEND="${RDEPEND}
- test? ( net-misc/curl[ssl?] )
-"
-BDEPEND="
- virtual/pkgconfig
-"
+ test? ( net-misc/curl[ssl?] )"
+BDEPEND="virtual/pkgconfig
+ test? ( net-misc/curl[ssl?] )"
DOCS=( AUTHORS NEWS README ChangeLog )