databases/pxlib: Fix build with llvm16

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-06-24 13:50:05 +02:00
parent 80c9446118
commit 64e9410f07

View file

@ -28,6 +28,12 @@ NLS_CONFIGURE_OFF= --disable-nls
NLS_USES= gettext
INSTALL_TARGET= install-strip
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
pre-build-MANPAGES-off:
${REINPLACE_CMD} -e 's/^DOCDIR =.*/DOCDIR =/' ${WRKSRC}/Makefile