The branch main has been updated by emaste:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=93942379cced89ad4ac653f262ac8277a8550853

commit 93942379cced89ad4ac653f262ac8277a8550853
Author:     Ed Maste <ema...@freebsd.org>
AuthorDate: 2021-10-26 21:15:54 +0000
Commit:     Ed Maste <ema...@freebsd.org>
CommitDate: 2021-10-26 21:17:56 +0000

    Avoid building libfido2 if WITHOUT_USB
    
    libfido2 requires USB, so disable it if not available.
    
    Reported by:    peterj
    Fixes:          7b1e19ad78c6 ("Add libfido2 to the build")
    Sponsored by:   The FreeBSD Foundation
---
 lib/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Makefile b/lib/Makefile
index 81ace36ba990..3f30917173af 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -215,7 +215,7 @@ SUBDIR.${MK_BHYVE}+=        libvmmapi
 .if ${MACHINE_ARCH} != "powerpc"
 SUBDIR.${MK_OPENMP}+=  libomp
 .endif
-.if !defined(COMPAT_32BIT)
+.if !defined(COMPAT_32BIT) && ${MK_USB} != "no"
 SUBDIR.${MK_OPENSSH}+= libcbor libfido2
 .endif
 SUBDIR.${MK_OPENSSL}+= libmp

Reply via email to