devel/genht: Fix build with llvm16

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman
2023-06-25 22:43:57 +02:00
parent f61962bba8
commit 02047af0bf
+6
View File
@@ -20,6 +20,12 @@ PORTEXAMPLES= Makefile example.c examplev.c
OPTIONS_DEFINE= EXAMPLES
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for f in ${PORTEXAMPLES}