Created attachment 184346 [details] Makefile to build port Build dns/unbound with libevent support "from the box"
Created attachment 184347 [details] shar file to create new port
Thank you Dmitry. Please: - Update patch to include addition of this port to dns/Makefile (since change provided as unified diff) - Consider COMMENT, should probably be a modified version of dns/unbound comment, for example: COMMENT=Validating, recursive, and caching DNS resolver (libevent) - Add CONFLICTS, CONFLICTS_BUILD or CONFLICTS_INSTALL if this port conflicts with any other port (particularly dns/unbound) - Confirm this change passes QA (portlint and poudriere in particular). For more information on testing, see: https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/testing.html -- CC dns/unbound maintainer
Created attachment 184348 [details] shar file to create new port
Created attachment 184349 [details] diff to main Makefile
Adding a new port for just one option to work seems an overkill to me. It is likely better to change the default option to use libevent might be easier. See also the discussion at <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220733>.
*** This bug has been marked as a duplicate of bug 220733 ***