1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

math/alberta: Fix build with llvm16

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-08-17 22:18:44 +02:00
parent 7b747e39df
commit d1587b8023

View File

@ -36,4 +36,10 @@ INSTALL_TARGET= install-strip
BINARY_ALIAS= make=${GMAKE} sed=gsed
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
.include <bsd.port.mk>