git: 8a9c7488974f - 2025Q2 - editors/imhex: Fix build error on 14.x

From: MANTANI Nobutaka <nobutaka_at_FreeBSD.org>
Date: Sat, 12 Apr 2025 15:54:10 UTC
The branch 2025Q2 has been updated by nobutaka:

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

commit 8a9c7488974f1c4cf90564b322f029ce0933b8bf
Author:     MANTANI Nobutaka <nobutaka@FreeBSD.org>
AuthorDate: 2025-04-05 19:44:10 +0000
Commit:     MANTANI Nobutaka <nobutaka@FreeBSD.org>
CommitDate: 2025-04-12 15:53:15 +0000

    editors/imhex: Fix build error on 14.x
    
    (cherry picked from commit c7882ea6d233706f871eecd0a0aababc9668903b)
---
 editors/imhex/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/editors/imhex/Makefile b/editors/imhex/Makefile
index 8479169924a2..12656ec298db 100644
--- a/editors/imhex/Makefile
+++ b/editors/imhex/Makefile
@@ -116,7 +116,7 @@ IGNORE=	requires libc++ of LLVM 17 on the base system
 .endif
 
 # After LLVM 18 import into the base system
-.if (${OSREL:R} == 15 && ${OSVERSION} >= 1500018)
+.if (${OSREL:R} == 15 && ${OSVERSION} >= 1500018) || ${OSREL:R} == 14
 CXXFLAGS+=	-fexperimental-library -D_LIBCPP_ENABLE_EXPERIMENTAL
 .endif