git: a6de898fe28f - main - devel/libmtrie: Fix build with llvm15

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 03 Jun 2023 15:39:11 UTC
The branch main has been updated by bofh:

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

commit a6de898fe28f91a246307d4aa9df2972c1dccd17
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-03 15:38:10 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-03 15:38:53 +0000

    devel/libmtrie: Fix build with llvm15
    
    Approved by:    portmgr (blanket)
---
 devel/libmtrie/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/devel/libmtrie/Makefile b/devel/libmtrie/Makefile
index db9fc318277e..d8b7ff762422 100644
--- a/devel/libmtrie/Makefile
+++ b/devel/libmtrie/Makefile
@@ -12,10 +12,12 @@ LICENSE=	BSD2CLAUSE
 USES=		tar:bzip2 uidfix
 USE_LDCONFIG=	yes
 
-.if defined(NO_PROFILE)
+.include <bsd.port.pre.mk>
+
+.if defined(NO_PROFILE) || ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079 )
 PLIST_SUB+=	HURRRR="@comment "
 .else
 PLIST_SUB+=	HURRRR=""
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>