Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Aug 2023 21:53:15 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 235cf8b3e4c6 - main - net-mgmt/irrtoolset: Fix build with llvm16
Message-ID:  <202308062153.376LrFXu075662@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=235cf8b3e4c6f1ff94f20fdf3b0a3d19d62a041a

commit 235cf8b3e4c6f1ff94f20fdf3b0a3d19d62a041a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-06 21:16:09 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-06 21:53:04 +0000

    net-mgmt/irrtoolset: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 net-mgmt/irrtoolset/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/net-mgmt/irrtoolset/Makefile b/net-mgmt/irrtoolset/Makefile
index 0cbce42f76cf..ef787e63c27b 100644
--- a/net-mgmt/irrtoolset/Makefile
+++ b/net-mgmt/irrtoolset/Makefile
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308062153.376LrFXu075662>