git: 0ef1ef39f127 - main - devel/llvm14: update to 14.0.1

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Wed, 13 Apr 2022 18:30:22 UTC
The branch main has been updated by brooks:

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

commit 0ef1ef39f127da8722178577968c4124ec7a7758
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2022-04-13 18:26:27 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2022-04-13 18:29:33 +0000

    devel/llvm14: update to 14.0.1
    
    Note: with LLVM 14, there will now be a series of .1 - .6 releases
    cut about ever two weeks rather than a single .1 release after a series
    of release candidates.
    
    Add a link for libclang.so.14 to reduce the need to modify build system
    that assume the libclang version and LLVM version are the same.
---
 devel/llvm14/Makefile  | 5 +++--
 devel/llvm14/distinfo  | 6 +++---
 devel/llvm14/pkg-plist | 1 +
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/devel/llvm14/Makefile b/devel/llvm14/Makefile
index 04a10fd66b73..ccc8f57227c2 100644
--- a/devel/llvm14/Makefile
+++ b/devel/llvm14/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	llvm
-DISTVERSION=	14.0.0
-PORTREVISION=	2
+DISTVERSION=	14.0.1
+PORTREVISION=	0
 CATEGORIES=	devel lang
 MASTER_SITES=	https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSION:S/rc/-rc/}/ \
 		https://${PRE_}releases.llvm.org/${LLVM_RELEASE}/${RCDIR}
@@ -580,6 +580,7 @@ post-install-CLANG-on:
 	${MKDIR} ${STAGEDIR}${PREFIX}/share/toolchains/
 	${INSTALL_DATA} ${WRKDIR}/xtoolchain.mk \
 	    ${STAGEDIR}${PREFIX}/share/toolchains/llvm${LLVM_SUFFIX}.mk
+	${LN} -s libclang.so.13 ${STAGEDIR}${LLVM_PREFIX}/lib/libclang.so.${LLVM_MAJOR}
 
 post-install-FLANG-on:
 	${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/include/flang/Optimizer/CodeGen/CMakeFiles
diff --git a/devel/llvm14/distinfo b/devel/llvm14/distinfo
index 88c0f9192088..2c0096763302 100644
--- a/devel/llvm14/distinfo
+++ b/devel/llvm14/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1648147417
-SHA256 (llvm-project-14.0.0.src.tar.xz) = 35ce9edbc8f774fe07c8f4acdf89ec8ac695c8016c165dd86b8d10e7cba07e23
-SIZE (llvm-project-14.0.0.src.tar.xz) = 105585028
+TIMESTAMP = 1649869471
+SHA256 (llvm-project-14.0.1.src.tar.xz) = 1a3c2e57916c5a70153aaf0a0e6f1230d6368b9e0f4d04dcb9e039a31b1cd4e6
+SIZE (llvm-project-14.0.1.src.tar.xz) = 105594944
diff --git a/devel/llvm14/pkg-plist b/devel/llvm14/pkg-plist
index 3789c8d93673..21dcc4b7ddc9 100644
--- a/devel/llvm14/pkg-plist
+++ b/devel/llvm14/pkg-plist
@@ -5179,6 +5179,7 @@ llvm%%LLVM_SUFFIX%%/lib/libRemarks.so.%%LLVM_MAJOR%%
 %%CLANG%%llvm%%LLVM_SUFFIX%%/lib/libclang-cpp.so
 %%CLANG%%llvm%%LLVM_SUFFIX%%/lib/libclang-cpp.so.%%LLVM_MAJOR%%
 %%CLANG%%llvm%%LLVM_SUFFIX%%/lib/libclang.so
+%%CLANG%%llvm%%LLVM_SUFFIX%%/lib/libclang.so.%%LLVM_MAJOR%%
 %%CLANG%%llvm%%LLVM_SUFFIX%%/lib/libclang.so.%%LLVM_RELEASE%%
 %%CLANG%%llvm%%LLVM_SUFFIX%%/lib/libclang.so.13
 %%CLANG%%llvm%%LLVM_SUFFIX%%/lib/libclangAPINotes.a