Even when building with the GNUTLS option on, nbdkit does not detect the presence of it, and it doesn't get enabled in the binary. Reported via email by Richard W.M. Jones <rjones@redhat.com> .
Created attachment 217524 [details] Fix TLS by adding USES=pkgconfig
LGTM: Approved by: kevans (ports)
Doesn't that make all BUILD_DEPENDS on pkgconf redundant?
(In reply to daniel.engberg.lists from comment #3) You're right. And the XXX_BUILD_DEPENDS probably ought to say XXX_USE+= pkgconf instead. I could add a GNUTLS_USE= line, but since so many of the options depend on pkgconf anyway, I may as well make it unconditional. This way the port won't break in the future if a new option gets added that depends on pkgconf.
A commit references this bug: Author: asomers Date: Tue Aug 25 22:37:57 UTC 2020 New revision: 546235 URL: https://svnweb.freebsd.org/changeset/ports/546235 Log: net/nbdkit: fix the GNUTLS option The GNUTLS option requires pkgconf. Since so many options do, this commit enables it unconditionally. PR: 248913 Reported by: Richard W.M. Jones <rjones@redhat.com> Approved by: kevans (ports) Sponsored by: Axcient Changes: head/net/nbdkit/Makefile