git: bfb027c65f94 - main - devel/root: the LLVM13 / FreeBSD 13 check is incomplete

From: Adriaan de Groot <adridg_at_FreeBSD.org>
Date: Sun, 26 Mar 2023 21:35:21 UTC
The branch main has been updated by adridg:

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

commit bfb027c65f940d4c33a54b430809f8986481f067
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2023-03-23 14:35:44 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2023-03-26 21:31:32 +0000

    devel/root: the LLVM13 / FreeBSD 13 check is incomplete
    
    Perhaps as a consequence of running 13-STABLE rather than
    releases, devel/root fails to package -- one of the two
    LLVM13-only files isn't there.
---
 devel/root/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/root/Makefile b/devel/root/Makefile
index 47895527fa8e..7e21a99f4c39 100644
--- a/devel/root/Makefile
+++ b/devel/root/Makefile
@@ -76,7 +76,7 @@ PLIST_SUB+=	NOT_INSTALLED_ON_AARCH64="" ONLY_INSTALLED_ON_AARCH64="@comment " AA
 # Some files only installed with LLVM/Clang 13 (used on FreeBSD 12.4 and 13.x)
 # TODO: Introduce USES+=llvm:min=14 instead when this can be deemed not too obtrusive on supported releases
 #       -- the post-patch step further down can then be phased out as well
-.if 1204000 <= ${OSVERSION} && ${OSVERSION} < 1400000
+.if 1204000 <= ${OSVERSION} && ${OSVERSION} < 1400000 && ${OSVERSION} != 1301507
 PLIST_SUB+=	ONLY_INSTALLED_WITH_LLVM_CLANG_13=""
 .else
 PLIST_SUB+=	ONLY_INSTALLED_WITH_LLVM_CLANG_13="@comment "