Index: head/security/libfido2/Makefile =================================================================== --- head/security/libfido2/Makefile (revision 545126) +++ head/security/libfido2/Makefile (revision 545127) @@ -1,36 +1,33 @@ # Created by: Po-Chuan Hsieh # $FreeBSD$ PORTNAME= libfido2 PORTVERSION= 1.4.0 CATEGORIES= security MASTER_SITES= https://developers.yubico.com/libfido2/Releases/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Provides library functionality for FIDO 2.0 LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libcbor.so:devel/libcbor \ libhidapi.so.0:comms/hidapi -USES= cmake compiler pkgconfig ssl +USES= cmake compiler:c11 pkgconfig ssl CFLAGS+= -D_WITH_GETLINE CMAKE_ON= USE_HIDAPI PLIST_SUB= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= DOCS .include post-patch: @${REINPLACE_CMD} -e '/libcrypto/d' ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's|endian.h|sys/&|' ${WRKSRC}/CMakeLists.txt ${WRKSRC}/openbsd-compat/openbsd-compat.h -.if ${CHOSEN_COMPILER_TYPE} == gcc - @${REINPLACE_CMD} -e '/-Wno-unused-result/d; /-Wno-discarded-qualifiers/d' ${WRKSRC}/CMakeLists.txt -.endif .include