Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jun 2022 20:49:02 GMT
From:      Craig Leres <leres@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6bcbed3a624c - main - security/libu2f-host: Unbreak build with DOCS disabled
Message-ID:  <202206052049.255Kn2h9041287@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206052049.255Kn2h9041287>