audio/fluidplug-lv2: Fix build with llvm16

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
2023Q4
Muhammad Moinur Rahman 2023-08-07 16:56:24 +02:00
parent a07283aae1
commit 7aeb6966fa
1 changed files with 6 additions and 0 deletions

View File

@ -26,6 +26,12 @@ OPTIONS_DEFINE_i386= SSE
SSE_MAKE_ARGS= PORT_SIMD_FLAGS="-mtune=generic -msse -msse2 -mfpmath=sse"
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
post-patch:
@${REINPLACE_CMD} -e ' \
s|PREFIX = /usr|PREFIX ?= /usr| ; \