See e.g. m4/pdns_check_libsodium.m4. A simple switch to configure should fix it, it seems.
Fixed with 4.1.0_rc3-r1
Are you sure? I don't see this flag being passed.
Reopening, verified it's not (fully) fixed. Thanks for fixing net-dns/pdns-recursor, but the same change should be also in net-dns/pdns. By the way, the same problem that manifested on the system I built in is with net-analyzer/net-snmp and net-dns/pdns-recursor - some evidence: /usr/sbin/pdns_recursor links to libnetsnmpagent.so.30 and libnetsnmp.so.30, and in m4/pdns_with_net_snmp.m4 the program net-snmp-config is called (if --with-net-snmp was used or automagically).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df76d7bf18d05eac6a000f5c9e8a93b4075b5b3f commit df76d7bf18d05eac6a000f5c9e8a93b4075b5b3f Author: Sven Wegener <swegener@gentoo.org> AuthorDate: 2017-11-30 18:28:37 +0000 Commit: Sven Wegener <swegener@gentoo.org> CommitDate: 2017-11-30 19:05:45 +0000 net-dns/pdns: Add sodium USE flag, bug #639018 Package-Manager: Portage-2.3.14, Repoman-2.3.6 Closes: https://bugs.gentoo.org/639018 net-dns/pdns/metadata.xml | 1 + net-dns/pdns/pdns-4.1.0_rc3-r1.ebuild | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b0ad4b9493c035ae0e4f0cec56d5189176e01bd commit 0b0ad4b9493c035ae0e4f0cec56d5189176e01bd Author: Sven Wegener <swegener@gentoo.org> AuthorDate: 2017-11-30 18:26:03 +0000 Commit: Sven Wegener <swegener@gentoo.org> CommitDate: 2017-11-30 19:05:44 +0000 net-dns/pdns-recursor: Add snmp USE flag, bug #639018 Package-Manager: Portage-2.3.14, Repoman-2.3.6 Closes: https://bugs.gentoo.org/639018 net-dns/pdns-recursor/pdns-recursor-4.1.0_rc3-r1.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Thanks.