Skip to content

Commit

Permalink
databases/pxlib: Fix build with llvm16
Browse files Browse the repository at this point in the history
Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jun 24, 2023
1 parent 80c9446 commit 64e9410
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions databases/pxlib/Makefile
Expand Up @@ -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

Expand Down

0 comments on commit 64e9410

Please sign in to comment.