summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/clazy/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/user/clazy/APKBUILD b/user/clazy/APKBUILD
index d8e20a742..114cd4556 100644
--- a/user/clazy/APKBUILD
+++ b/user/clazy/APKBUILD
@@ -2,6 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=clazy
pkgver=1.11
+_llvmver=14
pkgrel=0
pkgdesc="Clang compiler plugin to warn about Qt best practices"
url="https://kde.org/applications/development/org.kde.clazy"
@@ -9,7 +10,7 @@ arch="all"
license="LGPL-2.1+"
options="!check" # need 'clang-tools-extra'
depends=""
-makedepends="cmake clang-dev llvm14-dev"
+makedepends="cmake clang-dev llvm$_llvmver-dev"
subpackages="$pkgname-doc"
source="https://download.kde.org/stable/clazy/$pkgver/src/clazy-$pkgver.tar.xz
fix-link-fs-lib.patch
@@ -26,6 +27,7 @@ build() {
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
+ -DLLVM_ROOT="/usr/lib/llvm$_llvmver" \
${CMAKE_CROSSOPTS} \
.
make