net-mgmt/irrtoolset: Fix build with llvm16

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-08-06 23:16:09 +02:00
parent 54faeb599e
commit 235cf8b3e4

View file

@ -22,4 +22,10 @@ PLIST_FILES= bin/rpslcheck bin/peval bin/rtconfig \
man/man1/rtconfig.1.gz man/man1/peval.1.gz \
man/man1/rpslcheck.1.gz man/man1/irrtoolset-errors.1.gz
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Dregister=
.endif
.include <bsd.port.mk>