libu2f-host fails to configure when DOCS is off: ===> Configuring for libu2f-host-1.1.10_1 /bin/sh: /usr/local/bin/gtkdocize: not found ===> Mk/Uses/autoreconf.mk: Error running gtkdocize *** Error code 1 The issue seems to be that the configure script assumes gtk-doc is always available. I see two main options to fix this. One is to patch things to allow building without gtk-doc. The other is to remove the DOCS option.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6bcbed3a624c056ec373410b1eef68c3163886f0 commit 6bcbed3a624c056ec373410b1eef68c3163886f0 Author: Craig Leres <leres@FreeBSD.org> AuthorDate: 2022-06-05 20:47:54 +0000 Commit: Craig Leres <leres@FreeBSD.org> CommitDate: 2022-06-05 20:47:54 +0000 security/libu2f-host: Unbreak build with DOCS disabled libu2f-host does not successfully configure unless gtk-doc is present and enabled: ===> Configuring for libu2f-host-1.1.10_1 /bin/sh: /usr/local/bin/gtkdocize: not found ===> Mk/Uses/autoreconf.mk: Error running gtkdocize *** Error code 1 So: always enable gtk-doc and build DOCS things just don't install them. PR: 264298 security/libu2f-host/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)