games/avp: Fix build with llvm16

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman
2023-08-05 17:00:25 +02:00
parent 654b28e1df
commit 79cb9f7b2d
+6
View File
@@ -20,6 +20,12 @@ LDFLAGS_i386= -Wl,-znotext
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} \
${STAGEDIR}${PREFIX}/bin/