net-mgmt/irrtoolset: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
54faeb599e
commit
235cf8b3e4
1 changed files with 6 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue