summaryrefslogtreecommitdiff
path: root/user/clazy/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-06-11 17:51:01 -0500
committerZach van Rijn <me@zv.io>2022-10-21 18:34:01 -0500
commit578b4ef490c36152877758105debbbbca4e5854f (patch)
tree9e73e6c70477e82470951654d23a0e1adc32e91a /user/clazy/APKBUILD
parent94f54d8be020b70dc9a3c28c70ae64c7b5728955 (diff)
downloadpackages-578b4ef490c36152877758105debbbbca4e5854f.tar.gz
packages-578b4ef490c36152877758105debbbbca4e5854f.tar.bz2
packages-578b4ef490c36152877758105debbbbca4e5854f.tar.xz
packages-578b4ef490c36152877758105debbbbca4e5854f.zip
user/clazy: Fix LLVM dependency
Clang is built against LLVM 8, so build clazy against it as well.
Diffstat (limited to 'user/clazy/APKBUILD')
-rw-r--r--user/clazy/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/user/clazy/APKBUILD b/user/clazy/APKBUILD
index 8423b9b92..61ada092c 100644
--- a/user/clazy/APKBUILD
+++ b/user/clazy/APKBUILD
@@ -8,7 +8,7 @@ url="https://kde.org/applications/development/org.kde.clazy"
arch="all"
license="LGPL-2.1+"
depends=""
-makedepends="cmake clang-dev llvm-dev"
+makedepends="cmake clang-dev llvm8-dev"
subpackages="$pkgname-doc"
source="https://download.kde.org/stable/clazy/$pkgver/src/clazy-$pkgver.tar.xz"
@@ -23,6 +23,7 @@ build() {
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
+ -DLLVM_CONFIG_EXECUTABLE=/usr/bin/llvm8-config \
${CMAKE_CROSSOPTS} \
.
make