From 998a79adc58c7dd3fc981d5dd11c7675f53eb32a Mon Sep 17 00:00:00 2001 From: onlylunix Date: Mon, 24 Aug 2026 19:19:22 +0300 Subject: [PATCH] libclc22: fix libclc.pc --- srcpkgs/llvm22/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/llvm22/template b/srcpkgs/llvm22/template index a9774e2d54fef7..30d3d008b7cdb0 100644 --- a/srcpkgs/llvm22/template +++ b/srcpkgs/llvm22/template @@ -1,7 +1,7 @@ # Template file for 'llvm22' pkgname=llvm22 version=22.1.4 -revision=1 +revision=2 build_wrksrc=llvm build_style=cmake _major="${version%%.*}" @@ -1164,5 +1164,6 @@ libclc22_package() { pkg_install() { vmove "usr/lib/llvm/${_major}/lib/clang/${_major}/lib/libclc" vmove "usr/lib/llvm/${_major}/share/pkgconfig/libclc.pc" + vsed -i "s|libexecdir=/usr/lib/llvm/${_major}/share/clc|libexecdir=/usr/lib/llvm/${_major}/lib/clang/${_major}/lib/libclc|" "${PKGDESTDIR}/usr/lib/llvm/${_major}/share/pkgconfig/libclc.pc" } }