Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2025 23:53:23 GMT
From:      Brooks Davis <brooks@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: d7d561d6af3d - main - devel/llvm16: Fix !CLANG plist
Message-ID:  <202501132353.50DNrNwv045469@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by brooks:

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

commit d7d561d6af3d12df162c85bb5fa673b9d9bb0f43
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2025-01-13 23:53:15 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2025-01-13 23:53:15 +0000

    devel/llvm16: Fix !CLANG plist
    
    llvm-debuginfo-analyzer isn't part of Clang, but was matched by the
    overly broad pattern `-analyzer`.
    
    Reported by:    jrtc27
    Sponsored by:   DARPA, AFRL
---
 devel/llvm16/Makefile  | 2 +-
 devel/llvm16/pkg-plist | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/devel/llvm16/Makefile b/devel/llvm16/Makefile
index 101dba7d6f40..0f6f5fd83710 100644
--- a/devel/llvm16/Makefile
+++ b/devel/llvm16/Makefile
@@ -266,7 +266,7 @@ CONFIGURE_TARGET:=${ARCH:C/amd64/x86_64/:C/arm64/aarch64/}-portbld-${OPSYS:tl}${
 LLVM_ENABLE_PROJECTS+=	clang
 COMMANDS+=	${CLANG_COMMANDS}
 MAN1SRCS+=	${CLANG_MAN1SRCS}
-CLANG_PATTERN=	(amdgpu-arch|c-index-test|clang|diagtool|hmaptool|intercept-|libear|libscanbuild|nvptx-arch|analyze-|scan-|Reporter.py|ScanView.py|scanview.css|sorttable.js|startfile.py|-analyzer|AnalyzerPlugin.so)
+CLANG_PATTERN=	(amdgpu-arch|c-index-test|clang|diagtool|hmaptool|intercept-|libear|libscanbuild|nvptx-arch|analyze-|scan-|Reporter.py|ScanView.py|scanview.css|sorttable.js|startfile.py|c..-analyzer|AnalyzerPlugin.so)
 USES+=		gnome
 .endif
 
diff --git a/devel/llvm16/pkg-plist b/devel/llvm16/pkg-plist
index b899a6aab80f..f40300f0ff04 100644
--- a/devel/llvm16/pkg-plist
+++ b/devel/llvm16/pkg-plist
@@ -15,7 +15,7 @@ bin/llvm-config%%LLVM_SUFFIX%%
 bin/llvm-cov%%LLVM_SUFFIX%%
 bin/llvm-cvtres%%LLVM_SUFFIX%%
 bin/llvm-cxxmap%%LLVM_SUFFIX%%
-%%CLANG%%bin/llvm-debuginfo-analyzer%%LLVM_SUFFIX%%
+bin/llvm-debuginfo-analyzer%%LLVM_SUFFIX%%
 bin/llvm-debuginfod%%LLVM_SUFFIX%%
 bin/llvm-debuginfod-find%%LLVM_SUFFIX%%
 bin/llvm-diff%%LLVM_SUFFIX%%
@@ -229,7 +229,7 @@ llvm%%LLVM_SUFFIX%%/bin/llvm-cvtres
 llvm%%LLVM_SUFFIX%%/bin/llvm-cxxdump
 llvm%%LLVM_SUFFIX%%/bin/llvm-cxxfilt
 llvm%%LLVM_SUFFIX%%/bin/llvm-cxxmap
-%%CLANG%%llvm%%LLVM_SUFFIX%%/bin/llvm-debuginfo-analyzer
+llvm%%LLVM_SUFFIX%%/bin/llvm-debuginfo-analyzer
 llvm%%LLVM_SUFFIX%%/bin/llvm-debuginfod
 llvm%%LLVM_SUFFIX%%/bin/llvm-debuginfod-find
 llvm%%LLVM_SUFFIX%%/bin/llvm-diff



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501132353.50DNrNwv045469>