git: 6bcbed3a624c - main - security/libu2f-host: Unbreak build with DOCS disabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 05 Jun 2022 20:49:02 UTC
The branch main has been updated by leres:
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(-)
diff --git a/security/libu2f-host/Makefile b/security/libu2f-host/Makefile
index eeb08da77b96..806f2d4e8ac5 100644
--- a/security/libu2f-host/Makefile
+++ b/security/libu2f-host/Makefile
@@ -11,6 +11,7 @@ LICENSE= LGPL21+ GPLv3+
LICENSE_COMB= multi
BUILD_DEPENDS= gengetopt:devel/gengetopt \
+ gtk-doc>0:textproc/gtk-doc \
help2man:misc/help2man
LIB_DEPENDS= libhidapi.so:comms/hidapi \
libjson-c.so:devel/json-c
@@ -19,6 +20,7 @@ RUN_DEPENDS= ${LOCALBASE}/etc/devd/u2f.conf:security/u2f-devd
USES= autoreconf pkgconfig gmake libtool
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= -enable-gtk-doc
INSTALL_TARGET= install-strip
USE_GITHUB= yes
@@ -27,7 +29,4 @@ GH_ACCOUNT= Yubico
OPTIONS_DEFINE= DOCS
OPTIONS_SUB= yes
-DOCS_BUILD_DEPENDS= gtk-doc>0:textproc/gtk-doc
-DOCS_CONFIGURE_ENABLE= gtk-doc
-
.include <bsd.port.mk>