commit:     06d82d1cae94cf3a4dd18fc134d31b41f827d2ab
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  8 21:11:14 2021 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sun Aug  8 21:39:20 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06d82d1c

net-dns/knot: keyword 3.0.7 for ~riscv

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 net-dns/knot/knot-3.0.7.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/net-dns/knot/knot-3.0.7.ebuild b/net-dns/knot/knot-3.0.7.ebuild
index ff2ab85cf4e..b4082a371f4 100644
--- a/net-dns/knot/knot-3.0.7.ebuild
+++ b/net-dns/knot/knot-3.0.7.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit systemd
+inherit flag-o-matic systemd
 
 DESCRIPTION="High-performance authoritative-only DNS server"
 HOMEPAGE="https://www.knot-dns.cz/";
@@ -11,7 +11,7 @@ SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz";
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~riscv ~x86"
 
 KNOT_MODULES=(
        "+cookies"
@@ -73,6 +73,10 @@ src_configure() {
                my_conf+=("$(use_with ${u} module-${u})")
        done
 
+       if use riscv; then
+               append-libs -latomic
+       fi
+
        econf "${my_conf[@]}"
 }
 

Reply via email to