diff --git a/devel/libclc/Makefile b/devel/libclc/Makefile index 0ddee4d60809..ffa3ea6fb0d5 100644 --- a/devel/libclc/Makefile +++ b/devel/libclc/Makefile @@ -1,5 +1,6 @@ PORTNAME= libclc DISTVERSION= ${DISTVERSION_${FLAVOR}} +DISTVERSION_llvm19= 19.1.0 DISTVERSION_llvm18= 18.1.8 DISTVERSION_llvm17= 17.0.6 DISTVERSION_llvm16= 16.0.6 @@ -21,7 +22,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept BUILD_DEPENDS= spirv-llvm-translator-${FLAVOR}>0:devel/spirv-llvm-translator@${FLAVOR} \ libedit>=0:devel/libedit -FLAVORS= ${15 16 17 18:L:S/^/llvm/} +FLAVORS= ${15 16 17 18 19:L:S/^/llvm/} USES= cmake compiler:c++11-lib llvm:${FLAVOR:S/llvm//},build python:build tar:xz USE_LDCONFIG= ${PREFIX}/${FLAVOR}/lib then FLAVOR=llvm19 make makesum
I forgot to explain - there is missing FLAVOR=llvm19 for this port. I hav made needed changes for my local posts tree copy, and port was build fine. There are probably some additional places to be changed, because some cosmetic messages are not fine but ... ===> Registering installation for libclc-llvm19-19.1.0 Installing libclc-llvm19-19.1.0... ===>>> Deleting stale distfile: libclc-15.0.7.src.tar.xz ===>>> Installation of devel/libclc@llvm19 (** libclc-llvm15-15.0.7 ** ) complete
Created attachment 254501 [details] Add support for llvm19
(In reply to Jordan Ostreff from comment #1) Note pkg-plist is incomplete if you just add llvm flavor because 1) there are two new files for llvm19 and 2) files added for llvm18 must be installed for llvm19 as well.
(In reply to Jung-uk Kim from comment #2) Thanks,
Created attachment 254784 [details] Add support for llvm19 The patch is updated to 19.1.3. While I am here, pkg-plist is sorted.
LGTM
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=bccbfd11abf725b7cafab9dc83058cec224fce3f commit bccbfd11abf725b7cafab9dc83058cec224fce3f Author: Jung-uk Kim <jkim@FreeBSD.org> AuthorDate: 2024-10-31 21:22:25 +0000 Commit: Jung-uk Kim <jkim@FreeBSD.org> CommitDate: 2024-10-31 21:22:25 +0000 devel/libclc: Add support for clang 19 Sort pkg-plist while I am here. Reviewed by: manu PR: 281729 devel/libclc/Makefile | 12 +++-- devel/libclc/distinfo.llvm19 (new) | 3 ++ devel/libclc/pkg-plist | 100 +++++++++++++++++++------------------ 3 files changed, 63 insertions(+), 52 deletions(-)