commit:     bd5e3f66f50ddaeff715dc691a0ef3dc3b297095
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat Dec  4 16:18:08 2021 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Dec  4 16:21:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd5e3f66

net-dns/unbound: fix dependencies

Move systemd to CDEPEND.
Move swig to BDEPEND.
Move ldns-utils[examples] to BDEPEND and allow ldns[examples] as an
alternative.

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 .../{unbound-1.13.2.ebuild => unbound-1.13.2-r1.ebuild} | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/net-dns/unbound/unbound-1.13.2.ebuild 
b/net-dns/unbound/unbound-1.13.2-r1.ebuild
similarity index 96%
rename from net-dns/unbound/unbound-1.13.2.ebuild
rename to net-dns/unbound/unbound-1.13.2-r1.ebuild
index 4e61650bf380..affd90fd1da6 100644
--- a/net-dns/unbound/unbound-1.13.2.ebuild
+++ b/net-dns/unbound/unbound-1.13.2-r1.ebuild
@@ -38,18 +38,23 @@ CDEPEND="acct-group/unbound
        )
        http2? ( net-libs/nghttp2:=[${MULTILIB_USEDEP}] )
        python? ( ${PYTHON_DEPS} )
-       redis? ( dev-libs/hiredis:= )"
+       redis? ( dev-libs/hiredis:= )
+       systemd? ( sys-apps/systemd )
+"
 
-BDEPEND="virtual/pkgconfig"
-
-DEPEND="${CDEPEND}
+BDEPEND="virtual/pkgconfig
        python? ( dev-lang/swig )
        test? (
-               net-dns/ldns-utils[examples]
+               || (
+                       net-libs/ldns[examples(-)]
+                       net-dns/ldns-utils[examples(-)]
+               )
                dev-util/splint
                app-text/wdiff
        )
-       systemd? ( sys-apps/systemd )"
+"
+
+DEPEND="${CDEPEND}"
 
 RDEPEND="${CDEPEND}
        net-dns/dnssec-root

Reply via email to