git: c7882ea6d233 - main - editors/imhex: Fix build error on 14.x

From: MANTANI Nobutaka <nobutaka_at_FreeBSD.org>
Date: Sat, 05 Apr 2025 19:45:30 UTC
The branch main has been updated by nobutaka:

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

commit c7882ea6d233706f871eecd0a0aababc9668903b
Author:     MANTANI Nobutaka <nobutaka@FreeBSD.org>
AuthorDate: 2025-04-05 19:44:10 +0000
Commit:     MANTANI Nobutaka <nobutaka@FreeBSD.org>
CommitDate: 2025-04-05 19:45:04 +0000

    editors/imhex: Fix build error on 14.x
---
 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