git: bb55588ccc3e - main - security/botan3: fix build on 12.4 (+)

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Fri, 22 Sep 2023 08:30:17 UTC
The branch main has been updated by fluffy:

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

commit bb55588ccc3e04e12aecb88a3692aaf08ad5bb80
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2023-09-22 08:28:45 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2023-09-22 08:28:45 +0000

    security/botan3: fix build on 12.4 (+)
    
    Botan3 require at least llvm14 to build but 12.4 still have only llvm13 in base
    
    Reported by:    pkg-fallout
---
 security/botan3/Makefile | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/security/botan3/Makefile b/security/botan3/Makefile
index 180dd539db7c..f1e5a657a00d 100644
--- a/security/botan3/Makefile
+++ b/security/botan3/Makefile
@@ -82,11 +82,8 @@ PLIST_SUB+=	HAS_PROCESSOR_RNG=""
 PLIST_SUB+=	HAS_PROCESSOR_RNG="@comment "
 .endif
 
-.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
-USES+=	llvm:max=15
-CC=	clang${LLVM_VERSION}
-CPP=	clang-cpp${LLVM_VERSION}
-CXX=	clang++${LLVM_VERSION}
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ) || ${OSVERSION} < 1300000 )
+USES+=	llvm:max=15,min=14
 .endif
 
 post-patch: