Created attachment 184354 [details] Patch for Makefile Unbound without libevent already present in base system. For maximum performance, we always need to enable libevent support. But, will not be able make this, if we install unbound from package.
In general I'm not a fan of adding extra dependencies if it can be avoided. However, for unbound it is in the planning to make libevent default starting 1.7.x. I've contacted the upstreams to see whether they don't mind doing it now.
After contacting the upstreams, I don't see any problem making libevent default. So yes, go ahead.
A commit references this bug: Author: eugen Date: Sun Jul 23 14:03:53 UTC 2017 New revision: 446477 URL: https://svnweb.freebsd.org/changeset/ports/446477 Log: Base system contains unbound without libevent support enabled. Enable libevent by default for the port dns/unbound for performance reasons. PR: 220733 Submitted by: Dmitry Luhtionov Approved by: jaap (maintainer), az (mentor) Changes: head/dns/unbound/Makefile
Committed, thanks!
*** Bug 220730 has been marked as a duplicate of this bug. ***