git: 906376e51f73 - main - devel/llvm14: fix build on 13.0

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Fri, 22 Apr 2022 20:35:41 UTC
The branch main has been updated by pkubaj:

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

commit 906376e51f73bd2061d024ba3560f38a0ce3e7be
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-04-22 20:33:02 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-04-22 20:33:02 +0000

    devel/llvm14: fix build on 13.0
    
    Fix build similarly to llvm-devel.
    
    Pointy hat:     me
---
 devel/llvm14/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/devel/llvm14/Makefile b/devel/llvm14/Makefile
index 7d25d2cc5350..eea0586ef85f 100644
--- a/devel/llvm14/Makefile
+++ b/devel/llvm14/Makefile
@@ -305,9 +305,9 @@ COMPILER_RT_PATTERN=	(sanitizer|include.xray|include\/fuzzer|profile\/InstrProfD
 .if ${OSVERSION} < 1300525
 # An unwind.h is require to build.  I think an in-tree one should be used
 # but this seems to work as a workaround...
-COMPILER_RT_BUILD_DEPENDS=	libunwind>0:devel/libunwind
+BUILD_DEPENDS+=	libunwind>0:devel/libunwind
 # Allow unwind.h to be found reliably
-COMPILER_RT_USES=	localbase
+USES+=	localbase
 .endif
 .endif