git: 1a3926f7b838 - main - sysutils/radmind: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 07 Aug 2023 23:40:37 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1a3926f7b8380af266f00ab13435c0a24e8178a4

commit 1a3926f7b8380af266f00ab13435c0a24e8178a4
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-07 18:02:48 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-07 22:00:18 +0000

    sysutils/radmind: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 sysutils/radmind/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sysutils/radmind/Makefile b/sysutils/radmind/Makefile
index 03e7d8f58ad0..14cd4a0b16b3 100644
--- a/sysutils/radmind/Makefile
+++ b/sysutils/radmind/Makefile
@@ -40,6 +40,10 @@ RADMINUSER=	radmind
 
 .include <bsd.port.options.mk>
 
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CONFIGURE_ARGS+=	--enable-profiled=no
+.endif
+
 post-install:
 	# Ugly hack to remove generated man pages
 	${RM} -r ${WRKSRC}/tmp