Port needs a fix indentical to the https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243387 for obvious reasons.
I've just hit the problem by installing dns/samba-nsupdate from Ports. Since I'm unable to apply the fix by myself, I've Cc'd a few guys to kindly ask them to do the same magic they did with bug #243387 ... thanks! :)
Created attachment 215691 [details] Makefile patch I found that updating the dependency from BIND 9.14.2 to BIND 9.16.3 seems to solve the issue. Here is the patch for it.
Just like in the previous comment, updating the dependency to BIND 9.16.5 (the latest for now), fixes the problem as well. Perhaps it makes sense to track the latest ISC BIND version, just like dns/bind-tools port does?
(In reply to Andrew from comment #2) Looks liek the [patch is reversed, trying to downgrade from 9.16.3 to 9.14.2. Looks like maybe the files fed to diff were in the wrong order.
Created attachment 217266 [details] Makefile with version 9.16.5 (In reply to rkoberman from comment #4) Thank you, this is the updated patch to make it use BIND version 9.16.5
(In reply to Andrew from comment #5) While this is the right direction, apparently it's not enough. I can't build port with only those changes in the poudrire. I'll try to compile more comprehensive update...
(In reply to Sklad from comment #3) It makes a lot of sense, but... Alas, the maintainer of the bind* ports doesn't want to carry this burden :( https://reviews.freebsd.org/D16878 You can try to convince him though..
A commit references this bug: Author: timur Date: Sun Aug 23 22:24:43 UTC 2020 New revision: 546025 URL: https://svnweb.freebsd.org/changeset/ports/546025 Log: Update samba-nsupdate port to the version 9.16.5 PR: 244267 Changes: head/dns/samba-nsupdate/Makefile head/dns/samba-nsupdate/distinfo head/dns/samba-nsupdate/files/extrapatch-bind-tools head/dns/samba-nsupdate/files/patch-bin_named_include_named_globals.h
I've committed the fix, hope it all works fine.